Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.001457/0.001457, 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.001826/0.001826, allocations: 196.5 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.92 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2879, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007469/0.2954, allocations: 5.539 MB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004477/0.2999, allocations: 2.65 MB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004848/0.3004, allocations: 23.81 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.3023, allocations: 0.6884 MB / 1.062 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.3035, allocations: 405.7 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3046, allocations: 414.2 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001286/0.3059, allocations: 0.9553 MB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007486/0.3067, allocations: 470.7 kB / 1.064 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005916/0.3073, allocations: 370.7 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/0.308, allocations: 406.4 kB / 1.065 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.3081, allocations: 48 kB / 1.065 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008271/0.309, allocations: 359.3 kB / 1.065 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.3093, allocations: 247.3 kB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006105/0.3099, allocations: 350.2 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.3113, allocations: 0.9656 MB / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3113, allocations: 3.984 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3114, allocations: 0 / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.381e-05/0.3114, allocations: 0 / 1.066 GB, free: 10.39 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001961/0.3134, allocations: 0.9776 MB / 1.067 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3134, allocations: 8.625 kB / 1.067 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.3135, allocations: 102.7 kB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.315, allocations: 199.8 kB / 1.068 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/0.3158, allocations: 490.5 kB / 1.068 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.3159, allocations: 45.36 kB / 1.068 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.3161, allocations: 56.39 kB / 1.068 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.3172, allocations: 0.8254 MB / 1.069 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.3172, allocations: 7.938 kB / 1.069 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/0.3173, allocations: 23.98 kB / 1.069 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001863/0.3175, allocations: 64.95 kB / 1.069 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009114/0.3184, allocations: 0.5697 MB / 1.07 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004289/0.3227, allocations: 4.577 MB / 1.074 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.3233, allocations: 303.2 kB / 1.074 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.3236, allocations: 233.3 kB / 1.075 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.3236, allocations: 4.219 kB / 1.075 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3237, allocations: 38.84 kB / 1.075 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.3237, allocations: 0 / 1.075 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.005457/0.3291, allocations: 2.63 MB / 1.077 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.3292, allocations: 55.41 kB / 1.077 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005535/0.3297, allocations: 462 kB / 1.078 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.3298, allocations: 33.7 kB / 1.078 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.33, allocations: 351.6 kB / 1.078 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.3302, allocations: 145.9 kB / 1.078 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.3303, allocations: 106.2 kB / 1.078 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3305, allocations: 362.8 kB / 1.079 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.3309, allocations: 237 kB / 1.079 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.3314, allocations: 402.4 kB / 1.079 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3324, allocations: 0.6857 MB / 1.08 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3324, allocations: 4 kB / 1.08 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001656/0.3341, allocations: 0.9133 MB / 1.081 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3341, allocations: 5.562 kB / 1.081 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3342, allocations: 8 kB / 1.081 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007848/0.335, allocations: 226.9 kB / 1.081 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.3354, allocations: 119.8 kB / 1.081 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.3408, allocations: 5.336 MB / 1.086 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.3413, allocations: 35.91 kB / 1.086 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.3413, allocations: 20 kB / 1.087 GB, free: 4.496 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003229/0.3417, allocations: 225.7 kB / 1.087 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.3418, allocations: 63.28 kB / 1.087 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.3433, allocations: 0.7735 MB / 1.088 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3433, allocations: 4 kB / 1.088 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.3433, allocations: 0 / 1.088 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3433, allocations: 3.984 kB / 1.088 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.3457, allocations: 1.499 MB / 1.089 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3457, allocations: 0 / 1.089 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.3461, allocations: 75.88 kB / 1.089 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006669/0.3468, allocations: 202.7 kB / 1.089 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.3469, allocations: 12 kB / 1.089 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00475/0.3516, allocations: 5.281 MB / 1.094 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3516, allocations: 3.938 kB / 1.094 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.3534, allocations: 1.147 MB / 1.096 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.3537, allocations: 168.3 kB / 1.096 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.651e-05/0.3537, allocations: 12 kB / 1.096 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.3541, allocations: 23.97 kB / 1.096 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.3542, allocations: 35.89 kB / 1.096 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.3542, allocations: 16.25 kB / 1.096 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003533/0.3546, allocations: 322.8 kB / 1.096 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.072e-06/0.3546, allocations: 0 / 1.096 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006831/0.3553, allocations: 168 kB / 1.096 GB, free: 9.883 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001984/0.3573, allocations: 1.692 MB / 1.098 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.359, allocations: 1.059 MB / 1.099 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.359, allocations: 3.938 kB / 1.099 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009147/0.3599, allocations: 0.6799 MB / 1.1 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009576/0.3609, allocations: 176 kB / 1.1 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008425/0.3693, allocations: 5.71 MB / 1.105 GB, free: 148 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.3699, allocations: 0.9493 MB / 1.106 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003791/0.3703, allocations: 125 kB / 1.106 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.3706, allocations: 207.4 kB / 1.107 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/0.3706, allocations: 0 / 1.107 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7136/1.084, allocations: 14.02 MB / 1.12 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.664/10.75, allocations: 4.688 kB / 1.12 GB, free: 1.094 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches