Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001283/0.001283, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001377/0.001377, allocations: 217.6 kB / 23.04 MB, free: 5.074 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.992 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 2.998/2.998, allocations: 0.49 GB / 0.7959 GB, free: 33.55 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001938/0.001938, allocations: 61.31 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.347, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04431/0.3913, allocations: 36.81 MB / 1.363 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01902/0.4104, allocations: 10.36 MB / 1.373 GB, free: 2.656 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/0.4144, allocations: 190.6 kB / 1.373 GB, free: 2.469 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.4251, allocations: 3.983 MB / 1.377 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007621/0.4327, allocations: 2.138 MB / 1.379 GB, free: 12.33 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006385/0.4391, allocations: 2.034 MB / 1.381 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01386/0.453, allocations: 7.972 MB / 1.389 GB, free: 2.297 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009911/0.4629, allocations: 5.284 MB / 1.394 GB, free: 12.89 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007026/0.4699, allocations: 3.474 MB / 1.397 GB, free: 9.406 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007607/0.4775, allocations: 3.933 MB / 1.401 GB, free: 5.461 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002269/0.4798, allocations: 0.6797 MB / 1.402 GB, free: 4.781 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004456/0.4843, allocations: 1.471 MB / 1.403 GB, free: 3.309 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004615/0.4889, allocations: 2.681 MB / 1.406 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006727/0.4956, allocations: 3.105 MB / 1.409 GB, free: 13.5 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.5097, allocations: 10.41 MB / 1.419 GB, free: 3.062 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5098, allocations: 0 / 1.419 GB, free: 3.062 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5098, allocations: 4 kB / 1.419 GB, free: 3.059 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003474/0.5101, allocations: 0 / 1.419 GB, free: 3.059 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01451/0.5246, allocations: 5.463 MB / 1.424 GB, free: 13.54 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.5247, allocations: 12.03 kB / 1.424 GB, free: 13.52 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001552/0.5248, allocations: 125.8 kB / 1.424 GB, free: 13.4 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001526/0.5263, allocations: 0.7023 MB / 1.425 GB, free: 12.69 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005176/0.5315, allocations: 0.9928 MB / 1.426 GB, free: 11.69 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006871/0.5384, allocations: 3.132 MB / 1.429 GB, free: 8.492 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.5387, allocations: 353.9 kB / 1.429 GB, free: 8.145 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.5399, allocations: 464.3 kB / 1.43 GB, free: 7.691 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/0.5563, allocations: 7.902 MB / 1.438 GB, free: 15.43 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001295/0.5564, allocations: 27.75 kB / 1.438 GB, free: 15.4 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006783/0.5571, allocations: 216 kB / 1.438 GB, free: 15.19 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005578/0.5577, allocations: 369.1 kB / 1.438 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/0.5696, allocations: 5.937 MB / 1.444 GB, free: 8.871 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04521/0.6149, allocations: 35.68 MB / 1.479 GB, free: 1.949 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/0.6183, allocations: 1.998 MB / 1.481 GB, free: 15.93 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.6202, allocations: 1.336 MB / 1.482 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.743e-05/0.6203, allocations: 21.25 kB / 1.482 GB, free: 14.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.6204, allocations: 55.88 kB / 1.482 GB, free: 14.51 MB / 1.186 GB Notification: Performance of pre-optimization done (n=157): time 3.276e-06/0.6204, allocations: 0 / 1.482 GB, free: 14.51 MB / 1.186 GB Notification: Performance of matching and sorting (n=160): time 0.01422/0.6346, allocations: 6.667 MB / 1.489 GB, free: 7.805 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.6347, allocations: 68.72 kB / 1.489 GB, free: 7.727 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003155/0.6378, allocations: 1.86 MB / 1.491 GB, free: 5.84 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.638, allocations: 57.7 kB / 1.491 GB, free: 5.777 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/0.6397, allocations: 2.184 MB / 1.493 GB, free: 3.574 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006356/0.6404, allocations: 0.581 MB / 1.493 GB, free: 2.988 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000776/0.6411, allocations: 411.9 kB / 1.494 GB, free: 2.578 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6413, allocations: 305.1 kB / 1.494 GB, free: 2.277 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.643, allocations: 1.062 MB / 1.495 GB, free: 1.211 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.6452, allocations: 1.76 MB / 1.497 GB, free: 15.13 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003978/0.6491, allocations: 3.052 MB / 1.5 GB, free: 11.77 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.6491, allocations: 7.938 kB / 1.5 GB, free: 11.76 MB / 1.201 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006643/0.6558, allocations: 3.91 MB / 1.504 GB, free: 7.801 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.6558, allocations: 17.88 kB / 1.504 GB, free: 7.785 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/0.6559, allocations: 24 kB / 1.504 GB, free: 7.762 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/0.6583, allocations: 0.9274 MB / 1.505 GB, free: 6.797 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.6598, allocations: 435.2 kB / 1.505 GB, free: 6.371 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02242/0.6823, allocations: 21.54 MB / 1.526 GB, free: 15.46 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.6852, allocations: 115.9 kB / 1.526 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00031/0.6855, allocations: 103.9 kB / 1.526 GB, free: 15.24 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003134/0.6886, allocations: 1.647 MB / 1.528 GB, free: 13.59 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006041/0.6892, allocations: 266.4 kB / 1.528 GB, free: 13.32 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005659/0.6949, allocations: 3.24 MB / 1.531 GB, free: 10.03 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.6949, allocations: 16 kB / 1.531 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.6949, allocations: 12 kB / 1.531 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.6949, allocations: 7.969 kB / 1.531 GB, free: 9.996 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.7075, allocations: 7.505 MB / 1.539 GB, free: 2.348 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.7075, allocations: 4.562 kB / 1.539 GB, free: 2.344 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/0.7085, allocations: 215.6 kB / 1.539 GB, free: 2.133 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/0.7108, allocations: 0.9002 MB / 1.54 GB, free: 1.195 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.7109, allocations: 32 kB / 1.54 GB, free: 1.164 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/0.7324, allocations: 21.51 MB / 1.561 GB, free: 10.27 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7324, allocations: 4 kB / 1.561 GB, free: 10.27 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005858/0.7383, allocations: 3.361 MB / 1.564 GB, free: 6.789 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.7397, allocations: 482.3 kB / 1.564 GB, free: 6.316 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/0.74, allocations: 43.86 kB / 1.565 GB, free: 6.273 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.741, allocations: 95.88 kB / 1.565 GB, free: 6.18 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003912/0.7414, allocations: 148.9 kB / 1.565 GB, free: 6.031 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.7415, allocations: 44 kB / 1.565 GB, free: 5.988 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001773/0.7433, allocations: 1.225 MB / 1.566 GB, free: 4.75 MB / 1.264 GB Notification: Performance of sort global known variables: time 6e-08/0.7433, allocations: 0 / 1.566 GB, free: 4.75 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003005/0.7463, allocations: 0.9023 MB / 1.567 GB, free: 3.848 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005886/0.7522, allocations: 3.968 MB / 1.571 GB, free: 15.76 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006857/0.7591, allocations: 4.296 MB / 1.575 GB, free: 11.31 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.7591, allocations: 8.062 kB / 1.575 GB, free: 11.3 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004305/0.7634, allocations: 2.905 MB / 1.578 GB, free: 8.242 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/0.767, allocations: 0.8373 MB / 1.579 GB, free: 7.418 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04216/0.8092, allocations: 25.23 MB / 1.603 GB, free: 13.08 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003786/0.813, allocations: 3.209 MB / 1.606 GB, free: 9.84 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001713/0.8147, allocations: 0.5293 MB / 1.607 GB, free: 9.305 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00206/0.8167, allocations: 1.651 MB / 1.608 GB, free: 7.652 MB / 1.311 GB Notification: Performance of SimCode: time 1.182e-06/0.8167, allocations: 0 / 1.608 GB, free: 7.652 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8006/1.617, allocations: 72.64 MB / 1.679 GB, free: 241.3 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/17.34, allocations: 16.36 kB / 1.679 GB, free: 241.3 MB / 1.311 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 24.867151693964843]