Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_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.004607/0.004607, allocations: 102.3 kB / 15.73 MB, free: 6.023 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.001352/0.001352, allocations: 195.8 kB / 16.67 MB, free: 5.938 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.454/2.454, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 71.83 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6311/0.6328, allocations: 159.1 MB / 1.22 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006655/0.6395, allocations: 5.473 MB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003738/0.6433, allocations: 2.626 MB / 1.228 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.6435, allocations: 23.81 kB / 1.228 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.6451, allocations: 0.6768 MB / 1.229 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007131/0.6459, allocations: 405.8 kB / 1.229 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007903/0.6467, allocations: 400.3 kB / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009221/0.6476, allocations: 0.9435 MB / 1.23 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005723/0.6482, allocations: 461.2 kB / 1.231 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.6486, allocations: 382.5 kB / 1.231 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.6491, allocations: 402.4 kB / 1.232 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.6491, allocations: 48 kB / 1.232 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.6497, allocations: 359.3 kB / 1.232 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.6499, allocations: 247.3 kB / 1.232 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.6503, allocations: 350.2 kB / 1.233 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.6513, allocations: 0.9776 MB / 1.234 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6513, allocations: 0 / 1.234 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6513, allocations: 0 / 1.234 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.6513, allocations: 0 / 1.234 GB, free: 4.238 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.001408/0.6527, allocations: 0.9961 MB / 1.235 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.6528, allocations: 8.031 kB / 1.235 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.6529, allocations: 102.7 kB / 1.235 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.6541, allocations: 196.3 kB / 1.235 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.6548, allocations: 0.5222 MB / 1.235 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.6548, allocations: 33.38 kB / 1.235 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.655, allocations: 60.53 kB / 1.235 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.6561, allocations: 0.8316 MB / 1.236 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.6561, allocations: 4 kB / 1.236 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.6561, allocations: 24 kB / 1.236 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.6563, allocations: 64.95 kB / 1.236 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008216/0.6571, allocations: 0.5774 MB / 1.237 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.6612, allocations: 4.574 MB / 1.241 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.6616, allocations: 291.3 kB / 1.242 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.6619, allocations: 221.3 kB / 1.242 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.6619, allocations: 4.281 kB / 1.242 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.662, allocations: 38.83 kB / 1.242 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.662, allocations: 4 kB / 1.242 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.005113/0.6671, allocations: 2.648 MB / 1.244 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.6671, allocations: 55.41 kB / 1.245 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.6676, allocations: 461.9 kB / 1.245 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.47e-05/0.6676, allocations: 33.69 kB / 1.245 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.6679, allocations: 344.5 kB / 1.245 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.668, allocations: 158.6 kB / 1.245 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.6681, allocations: 102.2 kB / 1.246 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6683, allocations: 366.8 kB / 1.246 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.6686, allocations: 241 kB / 1.246 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.6691, allocations: 406.5 kB / 1.247 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008486/0.67, allocations: 0.674 MB / 1.247 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.67, allocations: 0 / 1.247 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001595/0.6716, allocations: 0.9253 MB / 1.248 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6716, allocations: 15.92 kB / 1.248 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.6716, allocations: 4 kB / 1.248 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007251/0.6723, allocations: 226.6 kB / 1.248 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.6728, allocations: 115.8 kB / 1.248 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00498/0.6778, allocations: 5.345 MB / 1.254 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.6782, allocations: 27.97 kB / 1.254 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.6782, allocations: 24 kB / 1.254 GB, free: 14.27 MB / 0.9825 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.0002522/0.6785, allocations: 221.7 kB / 1.254 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/0.6786, allocations: 71.58 kB / 1.254 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.6801, allocations: 0.7659 MB / 1.255 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.6801, allocations: 4 kB / 1.255 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6801, allocations: 3.984 kB / 1.255 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6801, allocations: 4 kB / 1.255 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.6824, allocations: 1.502 MB / 1.256 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6824, allocations: 8.156 kB / 1.256 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.6828, allocations: 71.94 kB / 1.256 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006317/0.6834, allocations: 202.3 kB / 1.256 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.6835, allocations: 12 kB / 1.256 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004851/0.6883, allocations: 5.27 MB / 1.262 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6883, allocations: 11.91 kB / 1.262 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.69, allocations: 1.124 MB / 1.263 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.6902, allocations: 176.8 kB / 1.263 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.6903, allocations: 15.94 kB / 1.263 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.6906, allocations: 27.95 kB / 1.263 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.6906, allocations: 27.97 kB / 1.263 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.6907, allocations: 12 kB / 1.263 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003093/0.691, allocations: 314.9 kB / 1.263 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.691, allocations: 0 / 1.263 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005411/0.6915, allocations: 168 kB / 1.263 GB, free: 3.672 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.001979/0.6935, allocations: 1.696 MB / 1.265 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.6951, allocations: 1.009 MB / 1.266 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6951, allocations: 3.938 kB / 1.266 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009152/0.696, allocations: 0.6837 MB / 1.267 GB, free: 144 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000799/0.6968, allocations: 186.5 kB / 1.267 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007191/0.704, allocations: 5.611 MB / 1.272 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.7046, allocations: 0.9493 MB / 1.273 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002991/0.7049, allocations: 117 kB / 1.273 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.7051, allocations: 211.4 kB / 1.274 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/0.7052, allocations: 0 / 1.274 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.248/2.954, allocations: 14.1 MB / 1.287 GB, free: 10.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.15/22.1, allocations: 11.7 kB / 1.287 GB, free: 10.91 MB / 1.014 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches