Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 221.3 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.105/3.105, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 70.75 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3638, allocations: 176.1 MB / 1.327 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01419/0.378, allocations: 10.32 MB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.3924, allocations: 8.488 MB / 1.345 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.3938, allocations: 79.31 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004864/0.3987, allocations: 1.676 MB / 1.347 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004946/0.4036, allocations: 1.559 MB / 1.348 GB, free: 11.35 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.4059, allocations: 0.6743 MB / 1.349 GB, free: 10.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004073/0.41, allocations: 2.29 MB / 1.351 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.4122, allocations: 1.153 MB / 1.352 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.4144, allocations: 1.035 MB / 1.353 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.4165, allocations: 1.078 MB / 1.354 GB, free: 5.062 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004468/0.417, allocations: 140 kB / 1.354 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.4188, allocations: 0.7408 MB / 1.355 GB, free: 4.184 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008645/0.4197, allocations: 0.5802 MB / 1.356 GB, free: 3.602 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.4211, allocations: 0.7192 MB / 1.356 GB, free: 2.879 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003579/0.4246, allocations: 2.6 MB / 1.359 GB, free: 276 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4246, allocations: 0 / 1.359 GB, free: 276 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4246, allocations: 0 / 1.359 GB, free: 276 kB / 1.045 GB Notification: Performance of Transformations before backend: time 4.266e-05/0.4247, allocations: 0 / 1.359 GB, free: 276 kB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003469/0.4282, allocations: 1.995 MB / 1.361 GB, free: 14.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.4282, allocations: 12.03 kB / 1.361 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.248e-05/0.4283, allocations: 34.52 kB / 1.361 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002273/0.4285, allocations: 186.1 kB / 1.361 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.439, allocations: 2.059 MB / 1.363 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.4418, allocations: 1.141 MB / 1.364 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.512e-05/0.4418, allocations: 90.44 kB / 1.364 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.4421, allocations: 108 kB / 1.364 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006051/0.4482, allocations: 2.884 MB / 1.367 GB, free: 7.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/0.4482, allocations: 11.89 kB / 1.367 GB, free: 7.398 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.4484, allocations: 52 kB / 1.367 GB, free: 7.348 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003578/0.4488, allocations: 126.1 kB / 1.367 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007113/0.4559, allocations: 2.549 MB / 1.37 GB, free: 4.664 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.4696, allocations: 7.632 MB / 1.377 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005914/0.4755, allocations: 1.844 MB / 1.379 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002687/0.4782, allocations: 0.9425 MB / 1.38 GB, free: 10.06 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.417e-05/0.4782, allocations: 8.438 kB / 1.38 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.4783, allocations: 38.98 kB / 1.38 GB, free: 10 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 3.306e-06/0.4783, allocations: 0 / 1.38 GB, free: 10 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03122/0.5095, allocations: 8.638 MB / 1.389 GB, free: 1.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.5096, allocations: 64 kB / 1.389 GB, free: 1.246 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.5114, allocations: 1.097 MB / 1.39 GB, free: 136 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.5116, allocations: 37.7 kB / 1.39 GB, free: 92 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000668/0.5122, allocations: 0.7551 MB / 1.39 GB, free: 15.33 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/0.5126, allocations: 293.5 kB / 1.391 GB, free: 15.04 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005083/0.5131, allocations: 206.5 kB / 1.391 GB, free: 14.83 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.5133, allocations: 345.9 kB / 1.391 GB, free: 14.49 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/0.5162, allocations: 1.071 MB / 1.392 GB, free: 13.41 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/0.5193, allocations: 1.313 MB / 1.394 GB, free: 12.01 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00587/0.5252, allocations: 2.382 MB / 1.396 GB, free: 9.531 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.5252, allocations: 4 kB / 1.396 GB, free: 9.527 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009021/0.5342, allocations: 3.254 MB / 1.399 GB, free: 6.238 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.5343, allocations: 8 kB / 1.399 GB, free: 6.23 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.5343, allocations: 8 kB / 1.399 GB, free: 6.223 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/0.5373, allocations: 0.7838 MB / 1.4 GB, free: 5.414 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.5392, allocations: 423.2 kB / 1.4 GB, free: 5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/0.5571, allocations: 14.98 MB / 1.415 GB, free: 5.098 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/0.5593, allocations: 291.5 kB / 1.415 GB, free: 4.812 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/0.5596, allocations: 47.97 kB / 1.415 GB, free: 4.766 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009674/0.5605, allocations: 405.2 kB / 1.416 GB, free: 4.363 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004459/0.561, allocations: 151.1 kB / 1.416 GB, free: 4.215 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008683/0.5697, allocations: 3.183 MB / 1.419 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.5697, allocations: 8 kB / 1.419 GB, free: 0.9805 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.371e-05/0.5697, allocations: 11.98 kB / 1.419 GB, free: 0.9688 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5697, allocations: 3.984 kB / 1.419 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.5815, allocations: 4.631 MB / 1.423 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.5816, allocations: 0 / 1.423 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.5832, allocations: 351.7 kB / 1.424 GB, free: 11.87 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002599/0.5858, allocations: 0.6974 MB / 1.424 GB, free: 11.15 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.5859, allocations: 31.97 kB / 1.425 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.6035, allocations: 14.6 MB / 1.439 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.6035, allocations: 7.938 kB / 1.439 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008407/0.6119, allocations: 3.013 MB / 1.442 GB, free: 8.5 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.6129, allocations: 314.8 kB / 1.442 GB, free: 8.191 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.6131, allocations: 23.88 kB / 1.442 GB, free: 8.168 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/0.6149, allocations: 295.5 kB / 1.442 GB, free: 7.879 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/0.6152, allocations: 80.45 kB / 1.442 GB, free: 7.801 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.6154, allocations: 43.95 kB / 1.442 GB, free: 7.758 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001198/0.6166, allocations: 0.7365 MB / 1.443 GB, free: 7.02 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6166, allocations: 0 / 1.443 GB, free: 7.02 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001787/0.6183, allocations: 432 kB / 1.444 GB, free: 6.598 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008822/0.6272, allocations: 3.601 MB / 1.447 GB, free: 2.906 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009293/0.6365, allocations: 3.519 MB / 1.451 GB, free: 15.28 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.6365, allocations: 0 / 1.451 GB, free: 15.28 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00557/0.642, allocations: 2.317 MB / 1.453 GB, free: 12.86 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/0.6455, allocations: 0.5178 MB / 1.453 GB, free: 12.36 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03857/0.684, allocations: 15.86 MB / 1.469 GB, free: 12.07 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.6854, allocations: 0.802 MB / 1.47 GB, free: 11.23 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001543/0.6869, allocations: 375.9 kB / 1.47 GB, free: 10.86 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.688, allocations: 0.6008 MB / 1.471 GB, free: 10.26 MB / 1.17 GB Notification: Performance of SimCode: time 1.343e-06/0.688, allocations: 0 / 1.471 GB, free: 10.26 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1423/0.8303, allocations: 45.45 MB / 1.515 GB, free: 13.78 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/17.42, allocations: 10.06 kB / 1.515 GB, free: 13.77 MB / 1.217 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 24.395932302926667]