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.007498/0.007505, allocations: 103.5 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.001899/0.001899, allocations: 197.5 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.708/2.708, allocations: 437.1 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 64.09 kB / 1.018 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3161, allocations: 151.6 MB / 1.166 GB, free: 7.422 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006401/0.3225, allocations: 4.283 MB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004112/0.3267, allocations: 2.381 MB / 1.173 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.3271, allocations: 15.88 kB / 1.173 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.3285, allocations: 370.1 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.3296, allocations: 394.1 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008923/0.3305, allocations: 311.2 kB / 1.174 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009521/0.3315, allocations: 0.6867 MB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004914/0.332, allocations: 256.8 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000458/0.3324, allocations: 262.9 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.3329, allocations: 270.9 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.794e-05/0.333, allocations: 28 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009152/0.3339, allocations: 427 kB / 1.176 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.3341, allocations: 143.6 kB / 1.176 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.3345, allocations: 242.7 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.3357, allocations: 0.7289 MB / 1.177 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3357, allocations: 3.984 kB / 1.177 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3357, allocations: 0 / 1.177 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.554e-05/0.3358, allocations: 0 / 1.177 GB, free: 12.63 MB / 0.9356 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.001428/0.3372, allocations: 0.7832 MB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3372, allocations: 15.97 kB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.3374, allocations: 78.69 kB / 1.178 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.3388, allocations: 188 kB / 1.178 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/0.3395, allocations: 440.5 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.3395, allocations: 25.38 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/0.3396, allocations: 36.36 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009217/0.3405, allocations: 0.6546 MB / 1.179 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.3406, allocations: 7.938 kB / 1.179 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.3406, allocations: 16 kB / 1.179 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.86e-05/0.3407, allocations: 51.95 kB / 1.179 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000767/0.3415, allocations: 499.3 kB / 1.179 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.3451, allocations: 3.782 MB / 1.183 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.3469, allocations: 0.6321 MB / 1.184 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.3472, allocations: 178.5 kB / 1.184 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.3472, allocations: 4 kB / 1.184 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.3473, allocations: 30.56 kB / 1.184 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 2.926e-06/0.3473, allocations: 0 / 1.184 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002504/0.3498, allocations: 1.277 MB / 1.185 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.3499, allocations: 106.8 kB / 1.185 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.3503, allocations: 401.9 kB / 1.186 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.3504, allocations: 37.64 kB / 1.186 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.3506, allocations: 287.4 kB / 1.186 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/0.3507, allocations: 122.2 kB / 1.186 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.3508, allocations: 94.16 kB / 1.186 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.351, allocations: 354.8 kB / 1.186 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.3513, allocations: 177 kB / 1.187 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.3517, allocations: 375.7 kB / 1.187 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007335/0.3524, allocations: 0.5873 MB / 1.188 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.3524, allocations: 4 kB / 1.188 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001168/0.3536, allocations: 0.6791 MB / 1.188 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.3537, allocations: 8 kB / 1.188 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.3537, allocations: 8 kB / 1.188 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.3541, allocations: 98.44 kB / 1.188 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.3545, allocations: 111.8 kB / 1.188 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.3582, allocations: 4.353 MB / 1.193 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.3586, allocations: 27.97 kB / 1.193 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.3587, allocations: 24 kB / 1.193 GB, free: 10.89 MB / 0.9512 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.0002835/0.359, allocations: 197.6 kB / 1.193 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.3591, allocations: 51.48 kB / 1.193 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009393/0.3601, allocations: 0.5225 MB / 1.193 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.3601, allocations: 7.938 kB / 1.193 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3601, allocations: 0 / 1.193 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3601, allocations: 0 / 1.193 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.362, allocations: 1.283 MB / 1.195 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.3621, allocations: 4.281 kB / 1.195 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.3623, allocations: 64.17 kB / 1.195 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/0.3626, allocations: 90.45 kB / 1.195 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.3626, allocations: 11.94 kB / 1.195 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/0.3662, allocations: 4.341 MB / 1.199 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.3663, allocations: 7.938 kB / 1.199 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000963/0.3672, allocations: 0.7815 MB / 1.2 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.3675, allocations: 156.4 kB / 1.2 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.3675, allocations: 8 kB / 1.2 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.3678, allocations: 23.97 kB / 1.2 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3679, allocations: 35.91 kB / 1.2 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.368, allocations: 12 kB / 1.2 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002992/0.3683, allocations: 279.1 kB / 1.2 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3683, allocations: 0 / 1.2 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006953/0.369, allocations: 120 kB / 1.201 GB, free: 2.293 MB / 0.9512 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.001261/0.3702, allocations: 1.334 MB / 1.202 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.3715, allocations: 0.8091 MB / 1.203 GB, free: 44 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3716, allocations: 8.25 kB / 1.203 GB, free: 36 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007501/0.3723, allocations: 0.5389 MB / 1.203 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009006/0.3732, allocations: 140.1 kB / 1.203 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006249/0.3795, allocations: 4.547 MB / 1.208 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.38, allocations: 0.8585 MB / 1.209 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003012/0.3803, allocations: 108.5 kB / 1.209 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.3806, allocations: 155.4 kB / 1.209 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of SimCode: time 7.31e-07/0.3806, allocations: 0 / 1.209 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03719/0.4178, allocations: 10.01 MB / 1.219 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.75, allocations: 13.95 kB / 1.219 GB, free: 15.47 MB / 0.9825 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=50 --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