Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_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.004811/0.004811, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.00141/0.00141, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.32/2.32, allocations: 437.1 MB / 0.7106 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 71.88 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6217/0.6234, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005425/0.6289, allocations: 4.276 MB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003227/0.6321, allocations: 2.388 MB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.6323, allocations: 15.88 kB / 1.173 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009566/0.6333, allocations: 370.2 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.6339, allocations: 374.2 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.6345, allocations: 325.2 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006587/0.6352, allocations: 0.675 MB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.6355, allocations: 258 kB / 1.175 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.6358, allocations: 262.9 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.6362, allocations: 266.8 kB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/0.6362, allocations: 28 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.6368, allocations: 435 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.637, allocations: 135.6 kB / 1.176 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.6372, allocations: 238.7 kB / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007828/0.638, allocations: 0.7351 MB / 1.177 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.638, allocations: 0 / 1.177 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.615e-06/0.638, allocations: 4 kB / 1.177 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.638, allocations: 3.938 kB / 1.177 GB, free: 9.02 MB / 0.9044 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.001024/0.639, allocations: 0.8019 MB / 1.177 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.6391, allocations: 8.922 kB / 1.177 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.841e-05/0.6392, allocations: 74.72 kB / 1.178 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.6404, allocations: 192.3 kB / 1.178 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.6409, allocations: 452.7 kB / 1.178 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.641, allocations: 25.36 kB / 1.178 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.641, allocations: 36.36 kB / 1.178 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000827/0.6419, allocations: 0.6508 MB / 1.179 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.6419, allocations: 7.953 kB / 1.179 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.6419, allocations: 15.98 kB / 1.179 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.391e-05/0.642, allocations: 47.97 kB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006901/0.6427, allocations: 0.4993 MB / 1.179 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.6458, allocations: 3.779 MB / 1.183 GB, free: 2 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.6475, allocations: 0.6283 MB / 1.184 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.6477, allocations: 182.4 kB / 1.184 GB, free: 1.156 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.6477, allocations: 11.92 kB / 1.184 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.6478, allocations: 38.56 kB / 1.184 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.6478, allocations: 0 / 1.184 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.002097/0.6499, allocations: 1.289 MB / 1.185 GB, free: 15.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.6499, allocations: 110.8 kB / 1.185 GB, free: 15.6 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.6503, allocations: 403.5 kB / 1.186 GB, free: 15.2 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.6504, allocations: 29.7 kB / 1.186 GB, free: 15.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.6506, allocations: 288.2 kB / 1.186 GB, free: 14.88 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/0.6507, allocations: 126.9 kB / 1.186 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.6508, allocations: 98.16 kB / 1.186 GB, free: 14.64 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.651, allocations: 362.7 kB / 1.187 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.6512, allocations: 169 kB / 1.187 GB, free: 14.12 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.6517, allocations: 379.7 kB / 1.187 GB, free: 13.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007244/0.6524, allocations: 0.5912 MB / 1.188 GB, free: 12.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.6524, allocations: 4 kB / 1.188 GB, free: 12.97 MB / 0.92 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001018/0.6534, allocations: 0.6715 MB / 1.188 GB, free: 12.29 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6535, allocations: 8 kB / 1.188 GB, free: 12.28 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6535, allocations: 11.94 kB / 1.188 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/0.6538, allocations: 98.88 kB / 1.188 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.6541, allocations: 111.8 kB / 1.189 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.6575, allocations: 4.352 MB / 1.193 GB, free: 7.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.6578, allocations: 27.98 kB / 1.193 GB, free: 7.246 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.6579, allocations: 27.98 kB / 1.193 GB, free: 7.219 MB / 0.92 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.0002076/0.6581, allocations: 209.5 kB / 1.193 GB, free: 7.004 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.6582, allocations: 51.67 kB / 1.193 GB, free: 6.953 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008366/0.659, allocations: 0.5147 MB / 1.194 GB, free: 6.426 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.659, allocations: 4 kB / 1.194 GB, free: 6.422 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.659, allocations: 0 / 1.194 GB, free: 6.422 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.659, allocations: 4 kB / 1.194 GB, free: 6.418 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.6607, allocations: 1.284 MB / 1.195 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6607, allocations: 4.031 kB / 1.195 GB, free: 5.035 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.661, allocations: 63.91 kB / 1.195 GB, free: 4.973 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.6612, allocations: 86.5 kB / 1.195 GB, free: 4.879 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.6612, allocations: 8 kB / 1.195 GB, free: 4.871 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003296/0.6645, allocations: 4.341 MB / 1.199 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.6645, allocations: 4 kB / 1.199 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/0.6654, allocations: 0.7783 MB / 1.2 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.6656, allocations: 152.8 kB / 1.2 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.6657, allocations: 23.88 kB / 1.2 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.666, allocations: 23.98 kB / 1.2 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.6661, allocations: 39.83 kB / 1.2 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.6661, allocations: 8.281 kB / 1.2 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002788/0.6664, allocations: 283.1 kB / 1.2 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6664, allocations: 0 / 1.2 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005609/0.6669, allocations: 123.9 kB / 1.201 GB, free: 14.61 MB / 0.9356 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.001147/0.6681, allocations: 1.339 MB / 1.202 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.6692, allocations: 0.8092 MB / 1.203 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6692, allocations: 0 / 1.203 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006717/0.6699, allocations: 0.5396 MB / 1.203 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008128/0.6707, allocations: 138.9 kB / 1.203 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.6758, allocations: 4.558 MB / 1.208 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.6762, allocations: 0.8624 MB / 1.209 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002291/0.6765, allocations: 112.4 kB / 1.209 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.6767, allocations: 163.3 kB / 1.209 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.6767, allocations: 0 / 1.209 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3479/1.025, allocations: 10.02 MB / 1.219 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/11.1, allocations: 13.72 kB / 1.219 GB, free: 11.74 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches