Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001661, allocations: 112.5 kB / 15.73 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 196.5 kB / 16.66 MB, free: 6.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.38 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2822, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009026/0.2913, allocations: 6.8 MB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005433/0.2968, allocations: 3.063 MB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008363/0.2976, allocations: 27.81 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002723/0.3004, allocations: 0.9547 MB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.302, allocations: 0.4973 MB / 1.099 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3033, allocations: 445.2 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.305, allocations: 1.236 MB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.3061, allocations: 0.6689 MB / 1.101 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008137/0.3069, allocations: 466.4 kB / 1.101 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008483/0.3078, allocations: 0.5176 MB / 1.102 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.308, allocations: 75.94 kB / 1.102 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008277/0.3088, allocations: 379.2 kB / 1.102 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.3092, allocations: 311.2 kB / 1.103 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007193/0.3099, allocations: 453.7 kB / 1.103 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.312, allocations: 1.212 MB / 1.104 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.3121, allocations: 8 kB / 1.104 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3121, allocations: 0 / 1.104 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.861e-05/0.3122, allocations: 0 / 1.104 GB, free: 0.8516 MB / 0.8575 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.002979/0.3151, allocations: 1.168 MB / 1.105 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.3152, allocations: 12.03 kB / 1.105 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.3154, allocations: 118.7 kB / 1.105 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.317, allocations: 247.6 kB / 1.106 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.3182, allocations: 0.6036 MB / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.3182, allocations: 49.69 kB / 1.106 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.3184, allocations: 68.3 kB / 1.106 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.32, allocations: 1.085 MB / 1.107 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.32, allocations: 3.938 kB / 1.107 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.943e-05/0.3201, allocations: 31.98 kB / 1.107 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.3203, allocations: 85.25 kB / 1.108 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.3215, allocations: 0.7465 MB / 1.108 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005566/0.327, allocations: 5.878 MB / 1.114 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009996/0.3281, allocations: 0.5555 MB / 1.115 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004344/0.3285, allocations: 322 kB / 1.115 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.3285, allocations: 12.44 kB / 1.115 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.3286, allocations: 38.94 kB / 1.115 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 3.045e-06/0.3286, allocations: 3.938 kB / 1.115 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.003853/0.3325, allocations: 1.99 MB / 1.117 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3325, allocations: 55.84 kB / 1.117 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.3331, allocations: 0.5587 MB / 1.117 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.3332, allocations: 33.7 kB / 1.117 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.3334, allocations: 414.9 kB / 1.118 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.3336, allocations: 173.6 kB / 1.118 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.3337, allocations: 130.5 kB / 1.118 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3339, allocations: 382.7 kB / 1.119 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.3343, allocations: 273.8 kB / 1.119 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.3349, allocations: 489 kB / 1.119 GB, free: 488 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.3359, allocations: 0.8171 MB / 1.12 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3359, allocations: 4 kB / 1.12 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001846/0.3377, allocations: 1.087 MB / 1.121 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3378, allocations: 8 kB / 1.121 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3378, allocations: 8 kB / 1.121 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008127/0.3386, allocations: 275.7 kB / 1.121 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.3391, allocations: 123.8 kB / 1.121 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006801/0.3459, allocations: 7.134 MB / 1.128 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/0.3465, allocations: 39.97 kB / 1.129 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.3466, allocations: 28 kB / 1.129 GB, free: 6.27 MB / 0.8887 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.0003752/0.3469, allocations: 269.4 kB / 1.129 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.3471, allocations: 71.16 kB / 1.129 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3486, allocations: 0.8886 MB / 1.13 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3487, allocations: 8 kB / 1.13 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.3487, allocations: 4 kB / 1.13 GB, free: 5.004 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3487, allocations: 0 / 1.13 GB, free: 5.004 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.3514, allocations: 1.724 MB / 1.131 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.3514, allocations: 7.938 kB / 1.131 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.3517, allocations: 59.89 kB / 1.131 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000755/0.3525, allocations: 267.3 kB / 1.132 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.3525, allocations: 8 kB / 1.132 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006367/0.3589, allocations: 7.118 MB / 1.139 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3589, allocations: 4.125 kB / 1.139 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.3605, allocations: 0.9835 MB / 1.14 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.3608, allocations: 196.2 kB / 1.14 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.361, allocations: 15.94 kB / 1.14 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.3613, allocations: 31.97 kB / 1.14 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.3614, allocations: 39.88 kB / 1.14 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.3615, allocations: 16 kB / 1.14 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004326/0.3619, allocations: 395.1 kB / 1.14 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3619, allocations: 0 / 1.14 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007939/0.3627, allocations: 224 kB / 1.141 GB, free: 9.219 MB / 0.9044 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.001765/0.3645, allocations: 1.542 MB / 1.142 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.3665, allocations: 1.268 MB / 1.143 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3666, allocations: 4.125 kB / 1.143 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.3677, allocations: 0.9008 MB / 1.144 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.3688, allocations: 228.2 kB / 1.144 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008376/0.3771, allocations: 6.38 MB / 1.151 GB, free: 14.4 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.3778, allocations: 1.013 MB / 1.152 GB, free: 13.36 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003866/0.3782, allocations: 126 kB / 1.152 GB, free: 13.23 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.3785, allocations: 247.4 kB / 1.152 GB, free: 13 MB / 0.92 GB Notification: Performance of SimCode: time 6.51e-07/0.3785, allocations: 0 / 1.152 GB, free: 13 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05492/0.4334, allocations: 17.5 MB / 1.169 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.83, allocations: 0.5 kB / 1.169 GB, free: 11.79 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches