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.005117/0.005117, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001196/0.001196, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.535/2.535, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 71.83 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.7146, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007336/0.7219, allocations: 5.544 MB / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004347/0.7263, allocations: 2.654 MB / 1.215 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004865/0.7268, allocations: 23.81 kB / 1.215 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.7287, allocations: 0.6846 MB / 1.216 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.7299, allocations: 409.7 kB / 1.216 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.7309, allocations: 406.3 kB / 1.217 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.7321, allocations: 0.9552 MB / 1.218 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006702/0.7328, allocations: 468.7 kB / 1.218 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.7334, allocations: 378.5 kB / 1.218 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006359/0.734, allocations: 406.4 kB / 1.219 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.218e-05/0.7341, allocations: 48 kB / 1.219 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006263/0.7347, allocations: 363.3 kB / 1.219 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.735, allocations: 255.2 kB / 1.22 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.7353, allocations: 346.3 kB / 1.22 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009747/0.7363, allocations: 0.9695 MB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.7363, allocations: 3.938 kB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7363, allocations: 3.938 kB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.7363, allocations: 0 / 1.221 GB, free: 15.64 MB / 0.9512 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.001456/0.7378, allocations: 0.9814 MB / 1.222 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7378, allocations: 8.031 kB / 1.222 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.7379, allocations: 98.69 kB / 1.222 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.7392, allocations: 195.9 kB / 1.222 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007978/0.74, allocations: 0.5217 MB / 1.223 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.7401, allocations: 41.36 kB / 1.223 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.7402, allocations: 60.55 kB / 1.223 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.7413, allocations: 0.8277 MB / 1.223 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.7413, allocations: 8 kB / 1.223 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.7414, allocations: 19.98 kB / 1.223 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/0.7415, allocations: 64.95 kB / 1.224 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007826/0.7423, allocations: 0.5735 MB / 1.224 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.7462, allocations: 4.573 MB / 1.229 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.7466, allocations: 295.3 kB / 1.229 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.7469, allocations: 225.3 kB / 1.229 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.7469, allocations: 4.281 kB / 1.229 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.7469, allocations: 42.78 kB / 1.229 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.747, allocations: 0 / 1.229 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.005022/0.752, allocations: 2.64 MB / 1.232 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.752, allocations: 59.34 kB / 1.232 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.7524, allocations: 466 kB / 1.232 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.7525, allocations: 29.7 kB / 1.232 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.7527, allocations: 343.6 kB / 1.233 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.358e-05/0.7528, allocations: 142 kB / 1.233 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.7529, allocations: 102.2 kB / 1.233 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.753, allocations: 366.8 kB / 1.233 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.7534, allocations: 241 kB / 1.233 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.7538, allocations: 402.5 kB / 1.234 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007559/0.7545, allocations: 0.6778 MB / 1.234 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7546, allocations: 0 / 1.234 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001494/0.7561, allocations: 0.9214 MB / 1.235 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7561, allocations: 8 kB / 1.235 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7561, allocations: 4 kB / 1.235 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007208/0.7568, allocations: 222.6 kB / 1.236 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.7573, allocations: 111.8 kB / 1.236 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/0.7618, allocations: 5.351 MB / 1.241 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.7622, allocations: 27.97 kB / 1.241 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.7622, allocations: 27.94 kB / 1.241 GB, free: 9.703 MB / 0.9669 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.0002525/0.7625, allocations: 229.7 kB / 1.241 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.7626, allocations: 59.28 kB / 1.241 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.7639, allocations: 0.7772 MB / 1.242 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.764, allocations: 4 kB / 1.242 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.764, allocations: 4 kB / 1.242 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.764, allocations: 3.984 kB / 1.242 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.7662, allocations: 1.497 MB / 1.243 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.7662, allocations: 8.031 kB / 1.243 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.7666, allocations: 63.89 kB / 1.243 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006461/0.7672, allocations: 210.6 kB / 1.244 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.7673, allocations: 12 kB / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004365/0.7717, allocations: 5.265 MB / 1.249 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.7717, allocations: 4 kB / 1.249 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.7733, allocations: 1.127 MB / 1.25 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.7735, allocations: 180.4 kB / 1.25 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.7736, allocations: 12 kB / 1.25 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.7739, allocations: 23.97 kB / 1.25 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.774, allocations: 32.09 kB / 1.25 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.774, allocations: 12 kB / 1.25 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002927/0.7743, allocations: 314.9 kB / 1.25 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7743, allocations: 4 kB / 1.25 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006133/0.775, allocations: 172 kB / 1.251 GB, free: 15.11 MB / 0.9825 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.001863/0.7768, allocations: 1.696 MB / 1.252 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.7783, allocations: 1.005 MB / 1.253 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7783, allocations: 0 / 1.253 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009024/0.7792, allocations: 0.6915 MB / 1.254 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008394/0.7801, allocations: 178.1 kB / 1.254 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007053/0.7872, allocations: 5.63 MB / 1.26 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.7877, allocations: 0.9531 MB / 1.261 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003113/0.788, allocations: 113 kB / 1.261 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.7883, allocations: 211.4 kB / 1.261 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.7883, allocations: 0 / 1.261 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/0.9, allocations: 14.46 MB / 1.275 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.17, allocations: 4.062 kB / 1.275 GB, free: 6.039 MB / 0.9981 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