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.001338/0.001338, allocations: 97.92 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.001484/0.001484, allocations: 219.9 kB / 23.03 MB, free: 4.949 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.765/2.765, allocations: 476.8 MB / 0.7715 GB, free: 3.898 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="cs",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="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.001995/0.001995, allocations: 65.73 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2946, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008897/0.3035, allocations: 6.558 MB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005082/0.3086, allocations: 3.064 MB / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.309, allocations: 39.62 kB / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.3115, allocations: 0.9455 MB / 1.294 GB, free: 60 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.3126, allocations: 0.5247 MB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009912/0.3136, allocations: 443 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.3149, allocations: 1.236 MB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007796/0.3157, allocations: 0.5296 MB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006211/0.3163, allocations: 498.2 kB / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007104/0.317, allocations: 0.5526 MB / 1.298 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.3171, allocations: 72 kB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.3178, allocations: 351.2 kB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.3181, allocations: 319.1 kB / 1.299 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.3185, allocations: 378.2 kB / 1.299 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.3198, allocations: 1.235 MB / 1.3 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3198, allocations: 0 / 1.3 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3198, allocations: 3.938 kB / 1.3 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.3198, allocations: 0 / 1.3 GB, free: 9.941 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.001903/0.3217, allocations: 1.115 MB / 1.301 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3218, allocations: 8.031 kB / 1.301 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.658e-05/0.3218, allocations: 21.48 kB / 1.302 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.322, allocations: 118.7 kB / 1.302 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.3235, allocations: 248.1 kB / 1.302 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/0.3244, allocations: 0.5321 MB / 1.302 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.3245, allocations: 49.62 kB / 1.302 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.3246, allocations: 64.36 kB / 1.302 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.3262, allocations: 1.34 MB / 1.304 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.3263, allocations: 7.938 kB / 1.304 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.3263, allocations: 28 kB / 1.304 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.3265, allocations: 81.27 kB / 1.304 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.3277, allocations: 0.7582 MB / 1.305 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004973/0.3326, allocations: 4.639 MB / 1.309 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009588/0.3336, allocations: 0.5086 MB / 1.31 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/0.334, allocations: 286 kB / 1.31 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.3341, allocations: 4.438 kB / 1.31 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.3341, allocations: 42.94 kB / 1.31 GB, free: 15.67 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.375e-06/0.3341, allocations: 0 / 1.31 GB, free: 15.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.003782/0.3379, allocations: 1.679 MB / 1.312 GB, free: 13.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3379, allocations: 59.84 kB / 1.312 GB, free: 13.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.3386, allocations: 0.5665 MB / 1.312 GB, free: 13.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.3386, allocations: 29.7 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.339, allocations: 440 kB / 1.313 GB, free: 12.85 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.3391, allocations: 166.5 kB / 1.313 GB, free: 12.69 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3393, allocations: 130.6 kB / 1.313 GB, free: 12.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3395, allocations: 378.7 kB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.3399, allocations: 281.8 kB / 1.314 GB, free: 11.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.3405, allocations: 485 kB / 1.314 GB, free: 11.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.3416, allocations: 0.8161 MB / 1.315 GB, free: 10.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3416, allocations: 7.938 kB / 1.315 GB, free: 10.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00203/0.3437, allocations: 1.078 MB / 1.316 GB, free: 9.316 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.3437, allocations: 11.98 kB / 1.316 GB, free: 9.305 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3437, allocations: 12.09 kB / 1.316 GB, free: 9.293 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008916/0.3446, allocations: 279.1 kB / 1.316 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.3451, allocations: 127.7 kB / 1.316 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007009/0.3521, allocations: 6.673 MB / 1.323 GB, free: 1.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.3528, allocations: 35.97 kB / 1.323 GB, free: 1.719 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.3528, allocations: 31.98 kB / 1.323 GB, free: 1.688 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.0003963/0.3532, allocations: 257.5 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.3533, allocations: 83.59 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.355, allocations: 0.877 MB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.355, allocations: 11.98 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.355, allocations: 4 kB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.355, allocations: 0 / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.3576, allocations: 1.61 MB / 1.326 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3576, allocations: 4 kB / 1.326 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.3578, allocations: 59.89 kB / 1.326 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008589/0.3587, allocations: 271.3 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.3587, allocations: 4 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006629/0.3654, allocations: 6.67 MB / 1.333 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.3654, allocations: 7.969 kB / 1.333 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.367, allocations: 0.98 MB / 1.333 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.3673, allocations: 119.5 kB / 1.334 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.3673, allocations: 15.94 kB / 1.334 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.3677, allocations: 31.95 kB / 1.334 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3678, allocations: 43.86 kB / 1.334 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.3679, allocations: 19.94 kB / 1.334 GB, free: 5.996 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004652/0.3683, allocations: 387.1 kB / 1.334 GB, free: 5.625 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3683, allocations: 4 kB / 1.334 GB, free: 5.621 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008002/0.3691, allocations: 224 kB / 1.334 GB, free: 5.402 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.001856/0.371, allocations: 1.536 MB / 1.336 GB, free: 3.805 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.373, allocations: 1.24 MB / 1.337 GB, free: 2.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.373, allocations: 0 / 1.337 GB, free: 2.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.3743, allocations: 0.87 MB / 1.338 GB, free: 1.598 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.3753, allocations: 215.2 kB / 1.338 GB, free: 1.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/0.3841, allocations: 6.407 MB / 1.344 GB, free: 10.65 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.3846, allocations: 417 kB / 1.345 GB, free: 10.22 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003738/0.3849, allocations: 126 kB / 1.345 GB, free: 10.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.3853, allocations: 251.4 kB / 1.345 GB, free: 9.848 MB / 1.045 GB Notification: Performance of SimCode: time 5.31e-07/0.3853, allocations: 0 / 1.345 GB, free: 9.848 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05372/0.439, allocations: 19.2 MB / 1.364 GB, free: 7.117 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.08, allocations: 8.062 kB / 1.364 GB, free: 7.109 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.791187759954482]