Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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.001756/0.001756, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002268/0.002268, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.741/2.741, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",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.002109/0.002109, allocations: 66.56 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3077, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009369/0.3171, allocations: 6.576 MB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005398/0.3225, allocations: 3.052 MB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.323, allocations: 35.69 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.3258, allocations: 0.9515 MB / 1.293 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.3273, allocations: 0.5284 MB / 1.293 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3285, allocations: 445.9 kB / 1.294 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.3301, allocations: 1.236 MB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000795/0.3309, allocations: 0.5218 MB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.3315, allocations: 498.3 kB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000734/0.3323, allocations: 0.5174 MB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.3324, allocations: 64 kB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006473/0.333, allocations: 347.3 kB / 1.297 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003086/0.3333, allocations: 319 kB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.3337, allocations: 374.3 kB / 1.298 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.3351, allocations: 1.235 MB / 1.299 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3351, allocations: 4 kB / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3351, allocations: 0 / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.3351, allocations: 3.938 kB / 1.299 GB, free: 11.72 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002135/0.3373, allocations: 1.115 MB / 1.3 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3373, allocations: 8.031 kB / 1.3 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.3375, allocations: 126.7 kB / 1.3 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.339, allocations: 240.1 kB / 1.3 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.3402, allocations: 0.536 MB / 1.301 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.3402, allocations: 53.67 kB / 1.301 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.3404, allocations: 56.38 kB / 1.301 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.3421, allocations: 1.344 MB / 1.302 GB, free: 8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.3421, allocations: 7.984 kB / 1.302 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.3422, allocations: 31.98 kB / 1.302 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.3424, allocations: 85.25 kB / 1.302 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.3436, allocations: 0.7542 MB / 1.303 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005537/0.3492, allocations: 4.635 MB / 1.308 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009975/0.3502, allocations: 0.5147 MB / 1.308 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005194/0.3507, allocations: 290 kB / 1.308 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.3507, allocations: 4.438 kB / 1.308 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.3507, allocations: 39 kB / 1.308 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.464e-06/0.3508, allocations: 0 / 1.308 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.003862/0.3546, allocations: 1.69 MB / 1.31 GB, free: 15.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3547, allocations: 59.78 kB / 1.31 GB, free: 15.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006777/0.3553, allocations: 0.582 MB / 1.311 GB, free: 15.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.3554, allocations: 29.7 kB / 1.311 GB, free: 15.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.3557, allocations: 424.1 kB / 1.311 GB, free: 14.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.3558, allocations: 178.5 kB / 1.311 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.356, allocations: 130.6 kB / 1.311 GB, free: 14.33 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.3562, allocations: 370.7 kB / 1.312 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.3567, allocations: 277.8 kB / 1.312 GB, free: 13.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006106/0.3573, allocations: 496.9 kB / 1.313 GB, free: 13.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.3585, allocations: 0.8161 MB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.3585, allocations: 4 kB / 1.313 GB, free: 12.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002091/0.3606, allocations: 1.074 MB / 1.314 GB, free: 11.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.3606, allocations: 8 kB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.3606, allocations: 11.98 kB / 1.314 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009424/0.3616, allocations: 279.3 kB / 1.315 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.3621, allocations: 127.7 kB / 1.315 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00707/0.3691, allocations: 6.681 MB / 1.321 GB, free: 3.527 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.3698, allocations: 39.91 kB / 1.321 GB, free: 3.488 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.3698, allocations: 28 kB / 1.321 GB, free: 3.461 MB / 1.014 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0003874/0.3702, allocations: 253.6 kB / 1.322 GB, free: 3.203 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.3703, allocations: 75.77 kB / 1.322 GB, free: 3.129 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.372, allocations: 0.8846 MB / 1.323 GB, free: 2.215 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.372, allocations: 8 kB / 1.323 GB, free: 2.207 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.372, allocations: 8 kB / 1.323 GB, free: 2.199 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.3721, allocations: 3.984 kB / 1.323 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.3749, allocations: 1.599 MB / 1.324 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.3749, allocations: 7.938 kB / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.3751, allocations: 63.88 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008069/0.3759, allocations: 263.4 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.376, allocations: 8 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00691/0.3829, allocations: 6.678 MB / 1.331 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3829, allocations: 8.094 kB / 1.331 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.3846, allocations: 0.9799 MB / 1.332 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.3849, allocations: 115.5 kB / 1.332 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.721e-05/0.385, allocations: 19.94 kB / 1.332 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.3854, allocations: 23.97 kB / 1.332 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3855, allocations: 43.92 kB / 1.332 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.3855, allocations: 16.19 kB / 1.332 GB, free: 7.785 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004695/0.386, allocations: 395.1 kB / 1.333 GB, free: 7.406 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.386, allocations: 3.938 kB / 1.333 GB, free: 7.402 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000784/0.3868, allocations: 223.9 kB / 1.333 GB, free: 7.184 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,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.001921/0.3887, allocations: 1.54 MB / 1.334 GB, free: 5.578 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.3907, allocations: 1.228 MB / 1.335 GB, free: 4.305 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3907, allocations: 4 kB / 1.335 GB, free: 4.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.392, allocations: 0.8662 MB / 1.336 GB, free: 3.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.393, allocations: 225.7 kB / 1.337 GB, free: 3.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0089/0.4019, allocations: 6.405 MB / 1.343 GB, free: 12.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.4024, allocations: 417 kB / 1.343 GB, free: 11.99 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000391/0.4028, allocations: 122 kB / 1.343 GB, free: 11.87 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.4032, allocations: 255.3 kB / 1.344 GB, free: 11.62 MB / 1.045 GB Notification: Performance of SimCode: time 1.042e-06/0.4032, allocations: 0 / 1.344 GB, free: 11.62 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08539/0.4885, allocations: 19.35 MB / 1.362 GB, free: 8.695 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.44, allocations: 6.547 kB / 1.362 GB, free: 8.691 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 19.011861622333527]