Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.533/2.533, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 71.88 kB / 1.107 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7858/0.7877, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004384/0.7921, allocations: 3.325 MB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.794, allocations: 1.426 MB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.7941, allocations: 4.656 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.795, allocations: 347.9 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.7954, allocations: 153.8 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.7958, allocations: 151.9 kB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.7962, allocations: 336.5 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.7965, allocations: 187 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.7967, allocations: 141.1 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.797, allocations: 165.1 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.7971, allocations: 18.78 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.7974, allocations: 171.8 kB / 1.278 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.7975, allocations: 88.83 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.7976, allocations: 124.6 kB / 1.278 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.7981, allocations: 356.9 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.7981, allocations: 0 / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7981, allocations: 0.875 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.7981, allocations: 0 / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007689/0.7989, allocations: 0.5459 MB / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.7989, allocations: 13.91 kB / 1.279 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.7989, allocations: 60.16 kB / 1.279 GB, free: 3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005422/0.7995, allocations: 77.23 kB / 1.279 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.7997, allocations: 258.8 kB / 1.279 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.7997, allocations: 17.25 kB / 1.279 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.7998, allocations: 20.69 kB / 1.279 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.8002, allocations: 315.6 kB / 1.279 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8002, allocations: 0 / 1.279 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.8003, allocations: 11.41 kB / 1.279 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.8003, allocations: 20.66 kB / 1.279 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.8006, allocations: 210.7 kB / 1.28 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.802, allocations: 1.489 MB / 1.281 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.8024, allocations: 198.7 kB / 1.281 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.8025, allocations: 41.91 kB / 1.281 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.8025, allocations: 5.25 kB / 1.281 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.8025, allocations: 40.67 kB / 1.281 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.8025, allocations: 0 / 1.281 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.000516/0.803, allocations: 258.2 kB / 1.282 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.634e-05/0.803, allocations: 52.66 kB / 1.282 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.8032, allocations: 208.6 kB / 1.282 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.8032, allocations: 31.02 kB / 1.282 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.8033, allocations: 181.9 kB / 1.282 GB, free: 356 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.8033, allocations: 33.42 kB / 1.282 GB, free: 328 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.8033, allocations: 40.75 kB / 1.282 GB, free: 296 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.8034, allocations: 324.9 kB / 1.282 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.393e-05/0.8035, allocations: 45.81 kB / 1.282 GB, free: 15.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.8036, allocations: 110.1 kB / 1.283 GB, free: 15.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.8039, allocations: 166.1 kB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8039, allocations: 1.312 kB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003495/0.8042, allocations: 212.4 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.8042, allocations: 8.531 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8042, allocations: 3.875 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.8044, allocations: 33.34 kB / 1.283 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.8045, allocations: 37.28 kB / 1.283 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.8058, allocations: 1.428 MB / 1.284 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.8059, allocations: 22.2 kB / 1.284 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.8059, allocations: 5.969 kB / 1.284 GB, free: 14.16 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.8061, allocations: 157.1 kB / 1.285 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.8061, allocations: 15.59 kB / 1.285 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.8061, allocations: 19.67 kB / 1.285 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8061, allocations: 5.984 kB / 1.285 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.8061, allocations: 1.25 kB / 1.285 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.8061, allocations: 0.6094 kB / 1.285 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006186/0.8068, allocations: 485.3 kB / 1.285 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.8068, allocations: 1.531 kB / 1.285 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-05/0.8068, allocations: 13.69 kB / 1.285 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/0.8069, allocations: 26.8 kB / 1.285 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.8069, allocations: 0.5156 kB / 1.285 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.808, allocations: 1.43 MB / 1.287 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.808, allocations: 2.625 kB / 1.287 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.8083, allocations: 235.1 kB / 1.287 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.8084, allocations: 101.9 kB / 1.287 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.8084, allocations: 4.891 kB / 1.287 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.8085, allocations: 10.19 kB / 1.287 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.8085, allocations: 12.17 kB / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.8086, allocations: 6.094 kB / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001391/0.8087, allocations: 154.4 kB / 1.287 GB, free: 11.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.8087, allocations: 0 / 1.287 GB, free: 11.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003138/0.809, allocations: 56.27 kB / 1.287 GB, free: 11.75 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000602/0.8096, allocations: 0.7701 MB / 1.288 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.81, allocations: 232.1 kB / 1.288 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.81, allocations: 4.062 kB / 1.288 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.8102, allocations: 154.5 kB / 1.288 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.8106, allocations: 43.5 kB / 1.288 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.8129, allocations: 2.143 MB / 1.29 GB, free: 9.078 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.8133, allocations: 0.7543 MB / 1.291 GB, free: 8.375 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.529e-05/0.8134, allocations: 27.19 kB / 1.291 GB, free: 8.371 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/0.8135, allocations: 57.92 kB / 1.291 GB, free: 8.328 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.8135, allocations: 3.938 kB / 1.291 GB, free: 8.324 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.8447, allocations: 4.032 MB / 1.295 GB, free: 7.742 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/9.454, allocations: 5.25 kB / 1.295 GB, free: 7.742 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.80553756199879]