Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001438/0.001438, allocations: 108 kB / 15.61 MB, free: 152 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.001145/0.001145, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.734/2.734, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 60.67 kB / 0.8992 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3015, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007885/0.3094, allocations: 6.808 MB / 1.06 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004645/0.3141, allocations: 3.079 MB / 1.063 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.3145, allocations: 27.81 kB / 1.063 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.3169, allocations: 0.9445 MB / 1.064 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.3179, allocations: 0.505 MB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009907/0.3189, allocations: 446.2 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.3202, allocations: 1.232 MB / 1.066 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008726/0.3211, allocations: 0.6703 MB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.3216, allocations: 466.3 kB / 1.067 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005556/0.3221, allocations: 0.5214 MB / 1.067 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.644e-05/0.3222, allocations: 68 kB / 1.067 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006161/0.3229, allocations: 379.2 kB / 1.068 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.3231, allocations: 307.2 kB / 1.068 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.3235, allocations: 457.7 kB / 1.068 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.3246, allocations: 1.199 MB / 1.07 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3246, allocations: 0 / 1.07 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3246, allocations: 3.938 kB / 1.07 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.3247, allocations: 0 / 1.07 GB, free: 7.141 MB / 0.8262 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.002022/0.3267, allocations: 1.172 MB / 1.071 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.3268, allocations: 8.625 kB / 1.071 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.3269, allocations: 118.7 kB / 1.071 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.3285, allocations: 235.6 kB / 1.071 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008381/0.3293, allocations: 0.557 MB / 1.072 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.3294, allocations: 45.67 kB / 1.072 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.3295, allocations: 72.27 kB / 1.072 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.3309, allocations: 1.089 MB / 1.073 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.3309, allocations: 7.938 kB / 1.073 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.331, allocations: 27.98 kB / 1.073 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.3311, allocations: 89.25 kB / 1.073 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.3322, allocations: 0.7504 MB / 1.074 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005184/0.3374, allocations: 5.893 MB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009488/0.3384, allocations: 0.5614 MB / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.3388, allocations: 322 kB / 1.08 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.3389, allocations: 8.438 kB / 1.08 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3389, allocations: 38.94 kB / 1.08 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.3389, allocations: 0 / 1.08 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003628/0.3425, allocations: 1.982 MB / 1.082 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.3426, allocations: 59.84 kB / 1.082 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.3432, allocations: 0.5625 MB / 1.083 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.3432, allocations: 33.7 kB / 1.083 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.3435, allocations: 426.9 kB / 1.083 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.3436, allocations: 165.6 kB / 1.083 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.3438, allocations: 130.5 kB / 1.084 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3439, allocations: 374.7 kB / 1.084 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.3443, allocations: 281.8 kB / 1.084 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.3448, allocations: 493 kB / 1.085 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009723/0.3458, allocations: 0.8132 MB / 1.085 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3458, allocations: 4 kB / 1.085 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001698/0.3475, allocations: 1.083 MB / 1.086 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3476, allocations: 13.09 kB / 1.087 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3476, allocations: 4 kB / 1.087 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008058/0.3484, allocations: 279.1 kB / 1.087 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.3489, allocations: 123.8 kB / 1.087 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006019/0.3549, allocations: 7.15 MB / 1.094 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.3555, allocations: 43.95 kB / 1.094 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.3555, allocations: 28 kB / 1.094 GB, free: 12.58 MB / 0.8575 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.0003542/0.3559, allocations: 253.5 kB / 1.094 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.356, allocations: 75.22 kB / 1.094 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.3575, allocations: 0.8847 MB / 1.095 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.3575, allocations: 8 kB / 1.095 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3575, allocations: 0 / 1.095 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.3575, allocations: 11.98 kB / 1.095 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.3599, allocations: 1.717 MB / 1.097 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3599, allocations: 7.938 kB / 1.097 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.3602, allocations: 63.88 kB / 1.097 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007029/0.3609, allocations: 271.3 kB / 1.097 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.3609, allocations: 8 kB / 1.097 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00619/0.3671, allocations: 7.118 MB / 1.104 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3672, allocations: 7.969 kB / 1.104 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.3688, allocations: 0.9913 MB / 1.105 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.3691, allocations: 192.2 kB / 1.105 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/0.3692, allocations: 11.94 kB / 1.105 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.3695, allocations: 31.97 kB / 1.105 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.3696, allocations: 39.88 kB / 1.105 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.3697, allocations: 16 kB / 1.105 GB, free: 132 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004234/0.3701, allocations: 391 kB / 1.106 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3701, allocations: 7.938 kB / 1.106 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007634/0.3709, allocations: 228 kB / 1.106 GB, free: 15.52 MB / 0.8731 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.001725/0.3726, allocations: 1.54 MB / 1.107 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.3748, allocations: 1.334 MB / 1.109 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.3749, allocations: 4 kB / 1.109 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.3761, allocations: 0.8815 MB / 1.11 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.3773, allocations: 218.2 kB / 1.11 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0084/0.3857, allocations: 6.547 MB / 1.116 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.3864, allocations: 1.013 MB / 1.117 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004855/0.3869, allocations: 133.9 kB / 1.117 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.3872, allocations: 254.2 kB / 1.118 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of SimCode: time 8.52e-07/0.3872, allocations: 4 kB / 1.118 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8768/1.264, allocations: 17.25 MB / 1.134 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.939/11.2, allocations: 10.73 kB / 1.134 GB, free: 2.141 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches