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.001436/0.001436, allocations: 108 kB / 15.6 MB, free: 132 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.001901/0.001901, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.695/2.695, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 63.17 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2454, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005594/0.251, allocations: 4.275 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003426/0.2545, allocations: 2.385 MB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.2548, allocations: 15.88 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.2559, allocations: 374.2 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008076/0.2567, allocations: 370.2 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.2574, allocations: 317.4 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.2581, allocations: 0.6789 MB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.2585, allocations: 262.2 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.2588, allocations: 247 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.2592, allocations: 278.8 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.2593, allocations: 28 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006564/0.2599, allocations: 435 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.2601, allocations: 143.6 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.2603, allocations: 242.6 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007876/0.2611, allocations: 0.7242 MB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2611, allocations: 0 / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2611, allocations: 0 / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.2611, allocations: 0 / 1.074 GB, free: 3.746 MB / 0.8262 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.001075/0.2622, allocations: 0.7871 MB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2623, allocations: 8.031 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.983e-05/0.2624, allocations: 78.7 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.2637, allocations: 180.1 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.2642, allocations: 404.5 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.2643, allocations: 29.36 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.2643, allocations: 36.28 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/0.2651, allocations: 0.6625 MB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2651, allocations: 0 / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.2652, allocations: 19.98 kB / 1.076 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.131e-05/0.2653, allocations: 55.91 kB / 1.076 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000691/0.266, allocations: 0.4893 MB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.2689, allocations: 3.782 MB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.2705, allocations: 0.6213 MB / 1.081 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.2708, allocations: 182.4 kB / 1.081 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2708, allocations: 8 kB / 1.081 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.2708, allocations: 42.5 kB / 1.081 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 3.787e-06/0.2709, allocations: 3.984 kB / 1.081 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002114/0.273, allocations: 1.28 MB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.273, allocations: 106.8 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.2734, allocations: 401.8 kB / 1.083 GB, free: 10 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.2734, allocations: 33.7 kB / 1.083 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.2736, allocations: 281.1 kB / 1.083 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.271e-05/0.2737, allocations: 118.3 kB / 1.083 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.2738, allocations: 106.1 kB / 1.084 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2739, allocations: 350.8 kB / 1.084 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.2742, allocations: 173 kB / 1.084 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.2746, allocations: 379.7 kB / 1.084 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.2752, allocations: 0.5913 MB / 1.085 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2752, allocations: 0 / 1.085 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001008/0.2762, allocations: 0.6791 MB / 1.086 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2763, allocations: 8 kB / 1.086 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2763, allocations: 4 kB / 1.086 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/0.2766, allocations: 102.4 kB / 1.086 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.277, allocations: 115.8 kB / 1.086 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00295/0.2799, allocations: 4.344 MB / 1.09 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.2803, allocations: 31.97 kB / 1.09 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.2803, allocations: 24 kB / 1.09 GB, free: 2.047 MB / 0.8419 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.0001886/0.2805, allocations: 193.7 kB / 1.09 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.2806, allocations: 47.44 kB / 1.09 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/0.2815, allocations: 0.5263 MB / 1.091 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2815, allocations: 4 kB / 1.091 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2815, allocations: 4 kB / 1.091 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2815, allocations: 3.984 kB / 1.091 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.2831, allocations: 1.283 MB / 1.092 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2831, allocations: 0 / 1.092 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.2834, allocations: 64.17 kB / 1.092 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002513/0.2837, allocations: 94.5 kB / 1.092 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.2837, allocations: 8 kB / 1.092 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002964/0.2867, allocations: 4.341 MB / 1.097 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2867, allocations: 4.031 kB / 1.097 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.2875, allocations: 0.7775 MB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.2877, allocations: 152.5 kB / 1.098 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.2877, allocations: 12 kB / 1.098 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.2881, allocations: 23.97 kB / 1.098 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.2881, allocations: 35.84 kB / 1.098 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.2882, allocations: 12 kB / 1.098 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000259/0.2884, allocations: 283.1 kB / 1.098 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.2884, allocations: 288 / 1.098 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006202/0.2891, allocations: 124 kB / 1.098 GB, free: 9.445 MB / 0.8575 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.001068/0.2901, allocations: 1.331 MB / 1.099 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.2913, allocations: 0.8336 MB / 1.1 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.2913, allocations: 0 / 1.1 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006557/0.292, allocations: 0.5358 MB / 1.101 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008761/0.2929, allocations: 142.5 kB / 1.101 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/0.2979, allocations: 4.591 MB / 1.105 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.2983, allocations: 0.8586 MB / 1.106 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002905/0.2986, allocations: 108.5 kB / 1.106 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.2988, allocations: 147.4 kB / 1.106 GB, free: 420 kB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.2988, allocations: 0 / 1.106 GB, free: 420 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.3311, allocations: 9.907 MB / 1.116 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.993/9.324, allocations: 1.25 kB / 1.116 GB, free: 6.695 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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