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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0007342/0.0007342, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004505/0.004505, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.261/1.261, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.369/2.369, allocations: 443.3 MB / 0.7176 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003271, allocations: 9.75 kB / 0.8797 GB, free: 41.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2526, allocations: 155.2 MB / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004141/0.2568, allocations: 3.942 MB / 1.035 GB, free: 412 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.2598, allocations: 2.35 MB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.2599, allocations: 15.88 kB / 1.037 GB, free: 14.03 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.2601, allocations: 67.42 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006213/0.2607, allocations: 354.4 kB / 1.038 GB, free: 13.61 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.2613, allocations: 287.1 kB / 1.038 GB, free: 13.34 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006889/0.262, allocations: 0.8699 MB / 1.039 GB, free: 12.46 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007088/0.2627, allocations: 459 kB / 1.039 GB, free: 11.99 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.2629, allocations: 215 kB / 1.04 GB, free: 11.78 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.2633, allocations: 262.8 kB / 1.04 GB, free: 11.52 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.2633, allocations: 20 kB / 1.04 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006193/0.2639, allocations: 0.5301 MB / 1.04 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.2641, allocations: 135.5 kB / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.2642, allocations: 236.5 kB / 1.041 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.2649, allocations: 0.7434 MB / 1.041 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2649, allocations: 4 kB / 1.041 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2649, allocations: 0 / 1.041 GB, free: 9.852 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2649, allocations: 0 / 1.041 GB, free: 9.852 MB / 0.795 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.000862/0.2658, allocations: 0.7092 MB / 1.042 GB, free: 9.09 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2658, allocations: 8.031 kB / 1.042 GB, free: 9.082 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.643e-05/0.2659, allocations: 78.7 kB / 1.042 GB, free: 8.996 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.2672, allocations: 184.1 kB / 1.042 GB, free: 8.816 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.2676, allocations: 412.4 kB / 1.043 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.2676, allocations: 25.36 kB / 1.043 GB, free: 8.352 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.2677, allocations: 28.38 kB / 1.043 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.2685, allocations: 0.6586 MB / 1.043 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.2685, allocations: 11.94 kB / 1.043 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.2685, allocations: 19.98 kB / 1.044 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.72e-05/0.2686, allocations: 51.95 kB / 1.044 GB, free: 7.488 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.2693, allocations: 499.3 kB / 1.044 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.2719, allocations: 3.786 MB / 1.048 GB, free: 2.953 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.2735, allocations: 0.6329 MB / 1.048 GB, free: 2.293 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.2737, allocations: 174.5 kB / 1.049 GB, free: 2.113 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2738, allocations: 11.94 kB / 1.049 GB, free: 2.102 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2738, allocations: 38.48 kB / 1.049 GB, free: 2.055 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.2738, allocations: 4 kB / 1.049 GB, free: 2.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.00196/0.2758, allocations: 1.28 MB / 1.05 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.2758, allocations: 110.8 kB / 1.05 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.2762, allocations: 401.7 kB / 1.05 GB, free: 168 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.2762, allocations: 29.7 kB / 1.05 GB, free: 132 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.2764, allocations: 283.5 kB / 1.051 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.959e-05/0.2765, allocations: 118.4 kB / 1.051 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.2765, allocations: 45.7 kB / 1.051 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2767, allocations: 354.8 kB / 1.051 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.2769, allocations: 173 kB / 1.051 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.2773, allocations: 376.9 kB / 1.052 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.2779, allocations: 0.5948 MB / 1.052 GB, free: 14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2779, allocations: 0 / 1.052 GB, free: 14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009717/0.2789, allocations: 0.6754 MB / 1.053 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2789, allocations: 8 kB / 1.053 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2789, allocations: 8.188 kB / 1.053 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003072/0.2792, allocations: 102.4 kB / 1.053 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.2796, allocations: 107.8 kB / 1.053 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/0.2824, allocations: 4.048 MB / 1.057 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.2827, allocations: 31.97 kB / 1.057 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.2827, allocations: 24 kB / 1.057 GB, free: 8.578 MB / 0.8106 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.00018/0.2829, allocations: 197.5 kB / 1.057 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.676e-05/0.283, allocations: 51.53 kB / 1.057 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008055/0.2838, allocations: 0.5263 MB / 1.058 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2838, allocations: 4 kB / 1.058 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2838, allocations: 4 kB / 1.058 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2838, allocations: 3.984 kB / 1.058 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.2854, allocations: 1.284 MB / 1.059 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2854, allocations: 7.969 kB / 1.059 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.2856, allocations: 63.89 kB / 1.059 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.2859, allocations: 90.5 kB / 1.059 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.2859, allocations: 8 kB / 1.059 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.2885, allocations: 4.028 MB / 1.063 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2885, allocations: 7.938 kB / 1.063 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/0.2893, allocations: 0.7777 MB / 1.064 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.2894, allocations: 152.5 kB / 1.064 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.2895, allocations: 19.92 kB / 1.064 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.2898, allocations: 15.98 kB / 1.064 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.2898, allocations: 31.95 kB / 1.064 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2899, allocations: 16 kB / 1.064 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002982/0.2902, allocations: 279.1 kB / 1.064 GB, free: 432 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2902, allocations: 3.938 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009193/0.2911, allocations: 127.9 kB / 1.065 GB, free: 300 kB / 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.001017/0.2921, allocations: 1.332 MB / 1.066 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.2932, allocations: 0.799 MB / 1.067 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2932, allocations: 0 / 1.067 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006355/0.2938, allocations: 0.5477 MB / 1.067 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/0.2948, allocations: 123.3 kB / 1.067 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/0.2996, allocations: 4.775 MB / 1.072 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.3, allocations: 0.8703 MB / 1.073 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002636/0.3003, allocations: 104.5 kB / 1.073 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.3005, allocations: 155.4 kB / 1.073 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of SimCode: time 4.2e-07/0.3005, allocations: 0 / 1.073 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.151/1.451, allocations: 9.389 MB / 1.082 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/1.452, allocations: 231.5 kB / 1.082 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/4.338, allocations: 0 / 1.082 GB, free: 13.69 MB / 0.8419 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