Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.007245/0.007245, allocations: 106.5 kB / 15.73 MB, free: 6 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.001799/0.001799, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.42/2.42, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.91 kB / 1.054 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7417, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005666/0.7474, allocations: 4.292 MB / 1.211 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003898/0.7513, allocations: 2.377 MB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/0.7517, allocations: 15.88 kB / 1.214 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.753, allocations: 370.3 kB / 1.214 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009279/0.754, allocations: 370.2 kB / 1.214 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007819/0.7548, allocations: 322.7 kB / 1.215 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008355/0.7556, allocations: 0.6789 MB / 1.215 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004254/0.756, allocations: 264.2 kB / 1.216 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.7564, allocations: 262.9 kB / 1.216 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004066/0.7569, allocations: 263 kB / 1.216 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.7569, allocations: 28 kB / 1.216 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006977/0.7576, allocations: 435 kB / 1.217 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.7578, allocations: 143.6 kB / 1.217 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.7581, allocations: 242.6 kB / 1.217 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009159/0.759, allocations: 0.7204 MB / 1.218 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.759, allocations: 0 / 1.218 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.759, allocations: 0 / 1.218 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.759, allocations: 4 kB / 1.218 GB, free: 2.797 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001214/0.7603, allocations: 0.7987 MB / 1.219 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.7603, allocations: 11.97 kB / 1.219 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.004e-05/0.7604, allocations: 74.7 kB / 1.219 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.7618, allocations: 184.1 kB / 1.219 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006673/0.7625, allocations: 444.4 kB / 1.219 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.7625, allocations: 21.38 kB / 1.219 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.7626, allocations: 40.36 kB / 1.219 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008118/0.7634, allocations: 0.6469 MB / 1.22 GB, free: 412 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.7634, allocations: 7.938 kB / 1.22 GB, free: 404 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.7635, allocations: 12 kB / 1.22 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/0.7636, allocations: 55.95 kB / 1.22 GB, free: 336 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.7643, allocations: 0.4915 MB / 1.22 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.7674, allocations: 3.779 MB / 1.224 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.769, allocations: 0.636 MB / 1.225 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.7693, allocations: 178.5 kB / 1.225 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.7693, allocations: 4 kB / 1.225 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.7693, allocations: 38.5 kB / 1.225 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/0.7693, allocations: 4 kB / 1.225 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002038/0.7714, allocations: 1.273 MB / 1.226 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.7714, allocations: 110.8 kB / 1.226 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.7718, allocations: 405.8 kB / 1.227 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.7718, allocations: 29.7 kB / 1.227 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.772, allocations: 279.4 kB / 1.227 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.7721, allocations: 126.3 kB / 1.227 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.7722, allocations: 94.16 kB / 1.227 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7724, allocations: 358.8 kB / 1.228 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.7726, allocations: 169 kB / 1.228 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.773, allocations: 387.2 kB / 1.228 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.7736, allocations: 0.5912 MB / 1.229 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7737, allocations: 4 kB / 1.229 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009669/0.7746, allocations: 0.671 MB / 1.229 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7747, allocations: 8 kB / 1.229 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7747, allocations: 8 kB / 1.229 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.775, allocations: 102.9 kB / 1.229 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.7754, allocations: 115.8 kB / 1.23 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/0.7784, allocations: 4.34 MB / 1.234 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.7787, allocations: 27.98 kB / 1.234 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.7787, allocations: 31.98 kB / 1.234 GB, free: 1.051 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.7789, allocations: 197.7 kB / 1.234 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.906e-05/0.779, allocations: 47.44 kB / 1.234 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007866/0.7798, allocations: 0.5147 MB / 1.235 GB, free: 272 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.7798, allocations: 4 kB / 1.235 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.7798, allocations: 0 / 1.235 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7798, allocations: 4 kB / 1.235 GB, free: 264 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.7815, allocations: 1.292 MB / 1.236 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7815, allocations: 4.125 kB / 1.236 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.7817, allocations: 63.84 kB / 1.236 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.782, allocations: 90.5 kB / 1.236 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.782, allocations: 8 kB / 1.236 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/0.7849, allocations: 4.345 MB / 1.24 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7849, allocations: 4 kB / 1.24 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/0.7857, allocations: 0.7743 MB / 1.241 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.7859, allocations: 152.5 kB / 1.241 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.7859, allocations: 15.98 kB / 1.241 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.7862, allocations: 19.98 kB / 1.241 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.7863, allocations: 39.83 kB / 1.241 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.7863, allocations: 12 kB / 1.241 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002488/0.7866, allocations: 283.1 kB / 1.242 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7866, allocations: 0 / 1.242 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005858/0.7872, allocations: 124 kB / 1.242 GB, free: 8.449 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/0.7886, allocations: 1.331 MB / 1.243 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.7897, allocations: 0.8054 MB / 1.244 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7897, allocations: 0 / 1.244 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.7904, allocations: 0.54 MB / 1.244 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008465/0.7913, allocations: 140.7 kB / 1.244 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.7961, allocations: 4.539 MB / 1.249 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.7965, allocations: 0.8666 MB / 1.25 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002378/0.7968, allocations: 104.5 kB / 1.25 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.7969, allocations: 151.4 kB / 1.25 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of SimCode: time 4.7e-07/0.797, allocations: 0 / 1.25 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04836/0.8453, allocations: 10.2 MB / 1.26 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.64, allocations: 19.62 kB / 1.26 GB, free: 5.473 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches