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.001604/0.001604, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.608/2.608, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 0.8694 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5539/0.5552, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005763/0.561, allocations: 4.282 MB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003612/0.5646, allocations: 2.373 MB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.5649, allocations: 15.88 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.566, allocations: 378.2 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008556/0.5669, allocations: 378.1 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.5676, allocations: 318.9 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007309/0.5684, allocations: 0.6828 MB / 1.026 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.5688, allocations: 260.3 kB / 1.026 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.5692, allocations: 255 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.5696, allocations: 266.9 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.5696, allocations: 28 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006821/0.5703, allocations: 435 kB / 1.027 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.5705, allocations: 143.5 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.5707, allocations: 234.7 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008472/0.5716, allocations: 0.7204 MB / 1.028 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5716, allocations: 0 / 1.028 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5716, allocations: 0 / 1.028 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.5716, allocations: 0 / 1.028 GB, free: 7.773 MB / 0.7794 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.001098/0.5727, allocations: 0.7948 MB / 1.029 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.5727, allocations: 12.03 kB / 1.029 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.951e-05/0.5728, allocations: 78.69 kB / 1.029 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.5742, allocations: 180.1 kB / 1.029 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.5747, allocations: 408.4 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.5748, allocations: 25.38 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.5748, allocations: 40.3 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.5756, allocations: 0.6547 MB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.5757, allocations: 7.938 kB / 1.03 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.5757, allocations: 12 kB / 1.03 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.517e-05/0.5758, allocations: 59.91 kB / 1.03 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.5765, allocations: 499.3 kB / 1.031 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.5795, allocations: 3.79 MB / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.5811, allocations: 0.6283 MB / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.5814, allocations: 178.5 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.5814, allocations: 0 / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.5815, allocations: 46.5 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/0.5815, allocations: 0 / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002176/0.5837, allocations: 1.273 MB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.5837, allocations: 114.8 kB / 1.036 GB, free: 14.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.5841, allocations: 397.8 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.5841, allocations: 33.7 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.5843, allocations: 279.6 kB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/0.5844, allocations: 114.4 kB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.5846, allocations: 109.9 kB / 1.037 GB, free: 13.47 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5847, allocations: 354.8 kB / 1.038 GB, free: 13.11 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.5849, allocations: 177 kB / 1.038 GB, free: 12.94 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.5853, allocations: 375.2 kB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.586, allocations: 0.5913 MB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.586, allocations: 4 kB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001022/0.587, allocations: 0.6669 MB / 1.039 GB, free: 11.11 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5871, allocations: 9.719 kB / 1.039 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5871, allocations: 4 kB / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003422/0.5874, allocations: 107.1 kB / 1.04 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.5878, allocations: 115.8 kB / 1.04 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.591, allocations: 4.347 MB / 1.044 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.5914, allocations: 23.98 kB / 1.044 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.5914, allocations: 33.08 kB / 1.044 GB, free: 6.047 MB / 0.795 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.0001984/0.5916, allocations: 193.6 kB / 1.044 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.5918, allocations: 47.44 kB / 1.044 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000845/0.5926, allocations: 0.5346 MB / 1.045 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5926, allocations: 4 kB / 1.045 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5926, allocations: 4 kB / 1.045 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5926, allocations: 0 / 1.045 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.5943, allocations: 1.287 MB / 1.046 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.5943, allocations: 4 kB / 1.046 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.5945, allocations: 55.91 kB / 1.046 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000252/0.5948, allocations: 94.78 kB / 1.046 GB, free: 3.695 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.5948, allocations: 8.281 kB / 1.046 GB, free: 3.688 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002935/0.5978, allocations: 4.341 MB / 1.05 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5978, allocations: 0 / 1.05 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.5987, allocations: 0.7854 MB / 1.051 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.5988, allocations: 156.4 kB / 1.051 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.5989, allocations: 15.89 kB / 1.051 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.5992, allocations: 19.98 kB / 1.051 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.5993, allocations: 39.83 kB / 1.051 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.5993, allocations: 16 kB / 1.051 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002719/0.5996, allocations: 275.1 kB / 1.052 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5996, allocations: 0 / 1.052 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006446/0.6003, allocations: 124 kB / 1.052 GB, free: 13.44 MB / 0.8106 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.001081/0.6013, allocations: 1.326 MB / 1.053 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.6025, allocations: 0.8172 MB / 1.054 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6025, allocations: 256 / 1.054 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006801/0.6032, allocations: 0.5504 MB / 1.054 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/0.6041, allocations: 133.8 kB / 1.055 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.6095, allocations: 4.585 MB / 1.059 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.61, allocations: 0.8664 MB / 1.06 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002782/0.6102, allocations: 108.4 kB / 1.06 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.6104, allocations: 156.1 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.6104, allocations: 4 kB / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.6461, allocations: 9.882 MB / 1.07 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.592/10.24, allocations: 9.156 kB / 1.07 GB, free: 10.68 MB / 0.8262 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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