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.004915/0.004915, allocations: 103.9 kB / 15.73 MB, free: 6.035 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.001071/0.001071, allocations: 196 kB / 16.67 MB, free: 5.969 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.542/2.542, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.89 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2744, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005729/0.2802, allocations: 4.284 MB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003659/0.2839, allocations: 2.373 MB / 1.214 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.2842, allocations: 19.88 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.2854, allocations: 373.1 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009399/0.2864, allocations: 374.1 kB / 1.215 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.2872, allocations: 319.2 kB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000876/0.2881, allocations: 0.6867 MB / 1.215 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004663/0.2886, allocations: 262.3 kB / 1.216 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/0.289, allocations: 262.9 kB / 1.216 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.2895, allocations: 266.8 kB / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.069e-05/0.2896, allocations: 36 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007703/0.2903, allocations: 423 kB / 1.217 GB, free: 476 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.2905, allocations: 143.6 kB / 1.217 GB, free: 332 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.2908, allocations: 246.6 kB / 1.217 GB, free: 84 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.2919, allocations: 0.732 MB / 1.218 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2919, allocations: 0 / 1.218 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2919, allocations: 0 / 1.218 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.292, allocations: 0 / 1.218 GB, free: 15.35 MB / 0.9825 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.001221/0.2932, allocations: 0.7832 MB / 1.219 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2932, allocations: 8.625 kB / 1.219 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.957e-05/0.2933, allocations: 82.64 kB / 1.219 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.2947, allocations: 184.1 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.2954, allocations: 436.5 kB / 1.219 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.2954, allocations: 29.36 kB / 1.219 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.2955, allocations: 32.36 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000858/0.2963, allocations: 0.6508 MB / 1.22 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.2964, allocations: 7.922 kB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.2964, allocations: 23.98 kB / 1.22 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.219e-05/0.2965, allocations: 47.97 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.2972, allocations: 499.3 kB / 1.22 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.3003, allocations: 3.787 MB / 1.224 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.302, allocations: 0.6243 MB / 1.225 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.3023, allocations: 186.4 kB / 1.225 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.3023, allocations: 4 kB / 1.225 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3024, allocations: 34.56 kB / 1.225 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 3.216e-06/0.3024, allocations: 0 / 1.225 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002315/0.3047, allocations: 1.273 MB / 1.226 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.3048, allocations: 110.8 kB / 1.226 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.3052, allocations: 397.7 kB / 1.227 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3052, allocations: 33.7 kB / 1.227 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.3055, allocations: 287.5 kB / 1.227 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.217e-05/0.3055, allocations: 114.4 kB / 1.227 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.3057, allocations: 98.14 kB / 1.227 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3058, allocations: 354.8 kB / 1.228 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.306, allocations: 177 kB / 1.228 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.3064, allocations: 375.7 kB / 1.228 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.3071, allocations: 0.5951 MB / 1.229 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.3071, allocations: 4 kB / 1.229 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001083/0.3082, allocations: 0.6752 MB / 1.229 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3082, allocations: 9.562 kB / 1.229 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3082, allocations: 7.984 kB / 1.229 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.3086, allocations: 94.64 kB / 1.229 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.309, allocations: 115.8 kB / 1.23 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.3123, allocations: 4.345 MB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.3126, allocations: 27.97 kB / 1.234 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.3127, allocations: 24 kB / 1.234 GB, free: 13.63 MB / 0.9981 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.0002434/0.3129, allocations: 193.6 kB / 1.234 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3131, allocations: 51.38 kB / 1.234 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008719/0.3139, allocations: 0.5228 MB / 1.235 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.314, allocations: 4 kB / 1.235 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.314, allocations: 7.938 kB / 1.235 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.314, allocations: 3.984 kB / 1.235 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.3157, allocations: 1.279 MB / 1.236 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3158, allocations: 4 kB / 1.236 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.316, allocations: 63.89 kB / 1.236 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00027/0.3163, allocations: 90.73 kB / 1.236 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.3163, allocations: 11.98 kB / 1.236 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.3194, allocations: 4.343 MB / 1.24 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.3195, allocations: 3.938 kB / 1.24 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008751/0.3203, allocations: 0.7738 MB / 1.241 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.3206, allocations: 152.5 kB / 1.241 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.3206, allocations: 12.22 kB / 1.241 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.3209, allocations: 27.91 kB / 1.241 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.321, allocations: 35.91 kB / 1.241 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.321, allocations: 15.94 kB / 1.241 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002841/0.3213, allocations: 279.1 kB / 1.241 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3213, allocations: 0 / 1.241 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006725/0.322, allocations: 120 kB / 1.242 GB, free: 5.031 MB / 0.9981 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.001128/0.3231, allocations: 1.338 MB / 1.243 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.3244, allocations: 0.813 MB / 1.244 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.3244, allocations: 4.312 kB / 1.244 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006828/0.3251, allocations: 0.5388 MB / 1.244 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008749/0.326, allocations: 135.9 kB / 1.244 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5454/0.8714, allocations: 4.524 MB / 1.249 GB, free: 36.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.8718, allocations: 0.8655 MB / 1.25 GB, free: 35.33 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002896/0.8721, allocations: 106.3 kB / 1.25 GB, free: 35.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.8722, allocations: 158 kB / 1.25 GB, free: 35.32 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.8722, allocations: 4.484 kB / 1.25 GB, free: 35.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.9075, allocations: 10.19 MB / 1.26 GB, free: 34.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.799/10.71, allocations: 18.45 kB / 1.26 GB, free: 34.6 MB / 0.9981 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