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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.141/3.141, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.38 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006192/0.3528, allocations: 4.336 MB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003958/0.3567, allocations: 2.4 MB / 1.311 GB, free: 10.76 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.357, allocations: 15.88 kB / 1.311 GB, free: 10.75 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.3582, allocations: 381.8 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009506/0.3591, allocations: 390.1 kB / 1.311 GB, free: 9.992 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007976/0.3599, allocations: 311.2 kB / 1.312 GB, free: 9.688 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008556/0.3608, allocations: 0.6867 MB / 1.312 GB, free: 8.996 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.3612, allocations: 215.4 kB / 1.312 GB, free: 8.785 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003604/0.3615, allocations: 255 kB / 1.313 GB, free: 8.535 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.3619, allocations: 290.8 kB / 1.313 GB, free: 8.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.362, allocations: 32 kB / 1.313 GB, free: 8.219 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007345/0.3627, allocations: 439 kB / 1.313 GB, free: 7.789 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3629, allocations: 155.5 kB / 1.314 GB, free: 7.637 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.3631, allocations: 230.8 kB / 1.314 GB, free: 7.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009473/0.3641, allocations: 0.7393 MB / 1.315 GB, free: 6.668 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3641, allocations: 0 / 1.315 GB, free: 6.668 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3641, allocations: 0 / 1.315 GB, free: 6.668 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.3641, allocations: 0 / 1.315 GB, free: 6.668 MB / 1.014 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.001269/0.3653, allocations: 0.8057 MB / 1.315 GB, free: 5.812 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.3654, allocations: 8.625 kB / 1.315 GB, free: 5.805 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.3655, allocations: 78.7 kB / 1.315 GB, free: 5.719 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.3668, allocations: 188.4 kB / 1.316 GB, free: 5.535 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.3676, allocations: 440.8 kB / 1.316 GB, free: 5.062 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.3676, allocations: 33.36 kB / 1.316 GB, free: 5.031 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.3677, allocations: 32.33 kB / 1.316 GB, free: 5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009382/0.3686, allocations: 0.6547 MB / 1.317 GB, free: 4.258 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.3686, allocations: 3.938 kB / 1.317 GB, free: 4.254 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.3687, allocations: 23.92 kB / 1.317 GB, free: 4.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.171e-05/0.3688, allocations: 51.97 kB / 1.317 GB, free: 4.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/0.3695, allocations: 495.4 kB / 1.317 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/0.3733, allocations: 3.79 MB / 1.321 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.375, allocations: 0.6051 MB / 1.322 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.3753, allocations: 166.4 kB / 1.322 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3753, allocations: 4 kB / 1.322 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3753, allocations: 38.56 kB / 1.322 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/0.3753, allocations: 0 / 1.322 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002355/0.3777, allocations: 1.29 MB / 1.323 GB, free: 13.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.3778, allocations: 106.8 kB / 1.323 GB, free: 13.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.3782, allocations: 402.4 kB / 1.323 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.3782, allocations: 29.7 kB / 1.324 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.3785, allocations: 296.1 kB / 1.324 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3786, allocations: 119 kB / 1.324 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.3787, allocations: 102.2 kB / 1.324 GB, free: 12.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3789, allocations: 350.8 kB / 1.324 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.3792, allocations: 177 kB / 1.325 GB, free: 11.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.3796, allocations: 387.6 kB / 1.325 GB, free: 11.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.3804, allocations: 0.5873 MB / 1.325 GB, free: 10.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.3804, allocations: 4 kB / 1.325 GB, free: 10.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00113/0.3815, allocations: 0.6793 MB / 1.326 GB, free: 9.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3815, allocations: 8 kB / 1.326 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.3815, allocations: 8 kB / 1.326 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.3819, allocations: 94.39 kB / 1.326 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.3823, allocations: 115.8 kB / 1.326 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004159/0.3865, allocations: 4.353 MB / 1.331 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.3869, allocations: 31.97 kB / 1.331 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.387, allocations: 24 kB / 1.331 GB, free: 4.906 MB / 1.029 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.0002651/0.3872, allocations: 197.5 kB / 1.331 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3873, allocations: 47.72 kB / 1.331 GB, free: 4.656 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009283/0.3883, allocations: 0.5192 MB / 1.331 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.3883, allocations: 8 kB / 1.331 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3883, allocations: 0 / 1.331 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.3883, allocations: 3.984 kB / 1.331 GB, free: 4.109 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.3902, allocations: 1.283 MB / 1.333 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.3902, allocations: 4 kB / 1.333 GB, free: 2.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.3905, allocations: 63.89 kB / 1.333 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/0.3908, allocations: 94.72 kB / 1.333 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.3908, allocations: 8 kB / 1.333 GB, free: 2.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003738/0.3945, allocations: 4.34 MB / 1.337 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.3945, allocations: 4.219 kB / 1.337 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.3955, allocations: 0.7862 MB / 1.338 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.3958, allocations: 156.7 kB / 1.338 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.3958, allocations: 8 kB / 1.338 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.3961, allocations: 27.97 kB / 1.338 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.3962, allocations: 35.84 kB / 1.338 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.3962, allocations: 12 kB / 1.338 GB, free: 12.7 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003366/0.3966, allocations: 283.1 kB / 1.338 GB, free: 12.42 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3966, allocations: 0 / 1.338 GB, free: 12.42 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006869/0.3973, allocations: 120 kB / 1.338 GB, free: 12.3 MB / 1.045 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.001377/0.3986, allocations: 1.329 MB / 1.34 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.4, allocations: 0.7862 MB / 1.34 GB, free: 10.09 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4, allocations: 320 / 1.34 GB, free: 10.09 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.4008, allocations: 0.5388 MB / 1.341 GB, free: 9.508 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.4017, allocations: 129.1 kB / 1.341 GB, free: 9.387 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00637/0.408, allocations: 4.558 MB / 1.346 GB, free: 4.48 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/0.4087, allocations: 0.8624 MB / 1.346 GB, free: 3.59 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00034/0.409, allocations: 108.5 kB / 1.347 GB, free: 3.484 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.4092, allocations: 151.4 kB / 1.347 GB, free: 3.336 MB / 1.045 GB Notification: Performance of SimCode: time 2.545e-06/0.4092, allocations: 3.938 kB / 1.347 GB, free: 3.332 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/0.4551, allocations: 10.1 MB / 1.357 GB, free: 9.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.03, allocations: 13.56 kB / 1.357 GB, free: 9.434 MB / 1.061 GB " [Timeout remaining time 289] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.6180059639737]