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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008519/0.0008519, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005295/0.005295, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.563/2.563, allocations: 462.7 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 18.3 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2945, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006644/0.3012, allocations: 5.16 MB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004582/0.3058, allocations: 2.619 MB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000575/0.3064, allocations: 19.81 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.3069, allocations: 103.1 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.3081, allocations: 386.1 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.3092, allocations: 380.4 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.3107, allocations: 1.252 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.3121, allocations: 0.7823 MB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006222/0.3127, allocations: 314.5 kB / 1.07 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.3134, allocations: 390.4 kB / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.916e-05/0.3135, allocations: 28 kB / 1.07 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008249/0.3143, allocations: 435 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.3146, allocations: 211.4 kB / 1.071 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004514/0.3151, allocations: 343.9 kB / 1.071 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.3163, allocations: 0.9616 MB / 1.072 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3163, allocations: 0 / 1.072 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3163, allocations: 4 kB / 1.072 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.074e-05/0.3164, allocations: 0 / 1.072 GB, free: 7.48 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.00155/0.3179, allocations: 0.8569 MB / 1.073 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.318, allocations: 11.97 kB / 1.073 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.3181, allocations: 98.69 kB / 1.073 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.3194, allocations: 191.9 kB / 1.073 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.3201, allocations: 494.4 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.3202, allocations: 41.36 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.3203, allocations: 56.45 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.3215, allocations: 0.8277 MB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.3215, allocations: 8 kB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/0.3216, allocations: 27.98 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/0.3217, allocations: 64.94 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/0.3226, allocations: 0.5735 MB / 1.075 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/0.3269, allocations: 4.6 MB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.3274, allocations: 295.3 kB / 1.08 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.3277, allocations: 221.3 kB / 1.08 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.3278, allocations: 8.281 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.3278, allocations: 42.78 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.3278, allocations: 0 / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.00547/0.3333, allocations: 2.623 MB / 1.083 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3334, allocations: 55.41 kB / 1.083 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.3338, allocations: 466 kB / 1.083 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.3339, allocations: 33.7 kB / 1.083 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.3341, allocations: 347.6 kB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.3342, allocations: 145.9 kB / 1.084 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.3343, allocations: 49.69 kB / 1.084 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3345, allocations: 362.8 kB / 1.084 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.3348, allocations: 241 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.3353, allocations: 408.2 kB / 1.085 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/0.3361, allocations: 0.6779 MB / 1.085 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3361, allocations: 0 / 1.085 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001599/0.3378, allocations: 0.9246 MB / 1.086 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3378, allocations: 8 kB / 1.086 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3378, allocations: 4.656 kB / 1.086 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007595/0.3386, allocations: 222.4 kB / 1.086 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.3391, allocations: 111.8 kB / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/0.3439, allocations: 4.946 MB / 1.091 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.3443, allocations: 31.97 kB / 1.091 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.3444, allocations: 31.92 kB / 1.091 GB, free: 2.152 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.0003209/0.3447, allocations: 225.8 kB / 1.092 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/0.3448, allocations: 59.34 kB / 1.092 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.3463, allocations: 0.7772 MB / 1.092 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3463, allocations: 8 kB / 1.092 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.3464, allocations: 4 kB / 1.092 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.3464, allocations: 3.984 kB / 1.092 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.3487, allocations: 1.49 MB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.3488, allocations: 8.031 kB / 1.094 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.3491, allocations: 63.95 kB / 1.094 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006709/0.3498, allocations: 214.2 kB / 1.094 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.3498, allocations: 8 kB / 1.094 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004622/0.3545, allocations: 4.872 MB / 1.099 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.3545, allocations: 15.89 kB / 1.099 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.3563, allocations: 1.127 MB / 1.1 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.3565, allocations: 172.4 kB / 1.1 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.3566, allocations: 8 kB / 1.1 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.3569, allocations: 27.97 kB / 1.1 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.357, allocations: 43.89 kB / 1.1 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.357, allocations: 16.08 kB / 1.1 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003632/0.3574, allocations: 318.9 kB / 1.101 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3574, allocations: 0 / 1.101 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006908/0.3581, allocations: 168 kB / 1.101 GB, free: 7.961 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.002077/0.3602, allocations: 1.692 MB / 1.102 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.3619, allocations: 1.004 MB / 1.103 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.3619, allocations: 0 / 1.103 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009763/0.3629, allocations: 0.6799 MB / 1.104 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000995/0.3639, allocations: 168.7 kB / 1.104 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008324/0.3722, allocations: 5.99 MB / 1.11 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.3729, allocations: 0.9494 MB / 1.111 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003958/0.3733, allocations: 121 kB / 1.111 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.3736, allocations: 211.4 kB / 1.111 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of SimCode: time 7.21e-07/0.3736, allocations: 3.938 kB / 1.111 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.404, allocations: 13.35 MB / 1.124 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.4043, allocations: 248.5 kB / 1.125 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.397, allocations: 4 kB / 1.125 GB, free: 15.41 MB / 0.8887 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