Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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.002057/0.002057, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.00236/0.00236, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.715/2.715, allocations: 476.8 MB / 0.7715 GB, free: 3.84 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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_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.002005/0.002005, allocations: 62.66 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.32, allocations: 170 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01864/0.3387, allocations: 13.28 MB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.3548, allocations: 9.127 MB / 1.306 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.3564, allocations: 87.25 kB / 1.306 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004733/0.3611, allocations: 1.656 MB / 1.308 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004912/0.366, allocations: 1.586 MB / 1.309 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.3683, allocations: 0.7623 MB / 1.31 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005124/0.3735, allocations: 2.524 MB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/0.3763, allocations: 1.192 MB / 1.314 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.3788, allocations: 1.098 MB / 1.315 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002932/0.3817, allocations: 1.207 MB / 1.316 GB, free: 9.914 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005303/0.3822, allocations: 164 kB / 1.316 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.3845, allocations: 0.7369 MB / 1.317 GB, free: 9.016 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.3856, allocations: 0.6347 MB / 1.317 GB, free: 8.379 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.3871, allocations: 0.7737 MB / 1.318 GB, free: 7.602 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005256/0.3924, allocations: 2.779 MB / 1.321 GB, free: 4.812 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.3924, allocations: 4 kB / 1.321 GB, free: 4.809 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.915e-06/0.3924, allocations: 0 / 1.321 GB, free: 4.809 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001069/0.3925, allocations: 0 / 1.321 GB, free: 4.809 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.007281/0.3998, allocations: 2.124 MB / 1.323 GB, free: 2.645 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/0.3999, allocations: 8.031 kB / 1.323 GB, free: 2.637 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.734e-05/0.4, allocations: 34.56 kB / 1.323 GB, free: 2.602 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004038/0.4004, allocations: 198.4 kB / 1.323 GB, free: 2.398 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/0.4173, allocations: 2.086 MB / 1.325 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004523/0.4218, allocations: 1.22 MB / 1.326 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.4219, allocations: 90.48 kB / 1.326 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005564/0.4225, allocations: 119.9 kB / 1.327 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008194/0.4307, allocations: 3.08 MB / 1.33 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.4307, allocations: 11.94 kB / 1.33 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.4309, allocations: 51.98 kB / 1.33 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006018/0.4315, allocations: 178.1 kB / 1.33 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0076/0.4391, allocations: 2.799 MB / 1.333 GB, free: 8.457 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.4541, allocations: 8.341 MB / 1.341 GB, free: 15.94 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006521/0.4607, allocations: 2.223 MB / 1.343 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/0.4638, allocations: 1.206 MB / 1.344 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.229e-05/0.4638, allocations: 9 kB / 1.344 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.949e-05/0.4639, allocations: 47.56 kB / 1.344 GB, free: 12.44 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 3.236e-06/0.4639, allocations: 0 / 1.344 GB, free: 12.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.04489/0.5088, allocations: 12.66 MB / 1.356 GB, free: 15.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.5088, allocations: 68.66 kB / 1.357 GB, free: 15.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.5104, allocations: 1.121 MB / 1.358 GB, free: 14.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.5105, allocations: 49.7 kB / 1.358 GB, free: 14.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006293/0.5112, allocations: 0.7248 MB / 1.358 GB, free: 13.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004933/0.5117, allocations: 479.9 kB / 1.359 GB, free: 13.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005685/0.5122, allocations: 263.5 kB / 1.359 GB, free: 12.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5124, allocations: 357.9 kB / 1.359 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/0.5156, allocations: 1.339 MB / 1.361 GB, free: 11.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003417/0.519, allocations: 1.6 MB / 1.362 GB, free: 9.586 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006645/0.5257, allocations: 2.998 MB / 1.365 GB, free: 6.492 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.5257, allocations: 0 / 1.365 GB, free: 6.492 MB / 1.061 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0113/0.537, allocations: 4.404 MB / 1.37 GB, free: 2.035 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.537, allocations: 8 kB / 1.37 GB, free: 2.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.537, allocations: 11.98 kB / 1.37 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00542/0.5424, allocations: 1.428 MB / 1.371 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.5445, allocations: 439.2 kB / 1.371 GB, free: 120 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02972/0.5742, allocations: 25.09 MB / 1.396 GB, free: 5.535 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.5766, allocations: 303.5 kB / 1.396 GB, free: 5.238 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.5768, allocations: 63.97 kB / 1.396 GB, free: 5.176 MB / 1.092 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008777/0.5777, allocations: 434.4 kB / 1.397 GB, free: 4.742 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.578, allocations: 167 kB / 1.397 GB, free: 4.578 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.5896, allocations: 4.418 MB / 1.401 GB, free: 108 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.5896, allocations: 12 kB / 1.401 GB, free: 96 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/0.5896, allocations: 16 kB / 1.401 GB, free: 80 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.5896, allocations: 11.91 kB / 1.401 GB, free: 68 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.6049, allocations: 6.292 MB / 1.407 GB, free: 9.641 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.605, allocations: 4 kB / 1.407 GB, free: 9.637 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.6067, allocations: 379.3 kB / 1.408 GB, free: 9.266 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/0.6117, allocations: 1.307 MB / 1.409 GB, free: 7.918 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.6118, allocations: 39.91 kB / 1.409 GB, free: 7.879 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/0.6391, allocations: 23.98 MB / 1.432 GB, free: 14.4 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6392, allocations: 3.938 kB / 1.432 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.6501, allocations: 4.164 MB / 1.436 GB, free: 10.14 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.6513, allocations: 390.7 kB / 1.437 GB, free: 9.754 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.6516, allocations: 24 kB / 1.437 GB, free: 9.73 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/0.6536, allocations: 303.5 kB / 1.437 GB, free: 9.434 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004654/0.6541, allocations: 136.6 kB / 1.437 GB, free: 9.301 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.6542, allocations: 47.97 kB / 1.437 GB, free: 9.254 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001189/0.6554, allocations: 0.7565 MB / 1.438 GB, free: 8.496 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6554, allocations: 7.938 kB / 1.438 GB, free: 8.488 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002157/0.6576, allocations: 0.5664 MB / 1.439 GB, free: 7.922 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0113/0.6689, allocations: 4.751 MB / 1.443 GB, free: 3.062 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01117/0.68, allocations: 4.962 MB / 1.448 GB, free: 13.93 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.68, allocations: 0 / 1.448 GB, free: 13.93 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007103/0.6872, allocations: 3.421 MB / 1.451 GB, free: 10.34 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.6896, allocations: 0.5591 MB / 1.452 GB, free: 9.801 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0423/0.7319, allocations: 19.34 MB / 1.471 GB, free: 6.012 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.7331, allocations: 0.8873 MB / 1.472 GB, free: 5.09 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001681/0.7348, allocations: 429.6 kB / 1.472 GB, free: 4.664 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.7358, allocations: 0.632 MB / 1.473 GB, free: 4.031 MB / 1.17 GB Notification: Performance of SimCode: time 9.11e-07/0.7358, allocations: 0 / 1.473 GB, free: 4.031 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/0.872, allocations: 56.44 MB / 1.528 GB, free: 12.65 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.86/21.73, allocations: 6.562 kB / 1.528 GB, free: 12.65 MB / 1.232 GB " [Timeout remaining time 278] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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: 28.561238548951223]