Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00237/0.00237, allocations: 216.4 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.125/3.125, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.12 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3317, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005068/0.3368, allocations: 3.203 MB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.3402, allocations: 2.053 MB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.3404, allocations: 7.938 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009866/0.3414, allocations: 286.9 kB / 1.351 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.3419, allocations: 199.1 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.3426, allocations: 263.2 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.343, allocations: 318.7 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.3433, allocations: 156.8 kB / 1.352 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.3435, allocations: 139.5 kB / 1.352 GB, free: 9.871 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.3438, allocations: 159.4 kB / 1.352 GB, free: 9.715 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.3439, allocations: 20 kB / 1.352 GB, free: 9.695 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006631/0.3445, allocations: 419.2 kB / 1.352 GB, free: 9.285 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3446, allocations: 91.73 kB / 1.352 GB, free: 9.195 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.3448, allocations: 131.3 kB / 1.353 GB, free: 9.066 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006915/0.3455, allocations: 498.3 kB / 1.353 GB, free: 8.578 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3455, allocations: 0 / 1.353 GB, free: 8.578 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3455, allocations: 0 / 1.353 GB, free: 8.578 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.3455, allocations: 3.938 kB / 1.353 GB, free: 8.574 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009014/0.3464, allocations: 0.4947 MB / 1.353 GB, free: 8.051 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3464, allocations: 12.03 kB / 1.353 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.717e-05/0.3464, allocations: 8.625 kB / 1.353 GB, free: 8.031 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.219e-05/0.3465, allocations: 58.72 kB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008102/0.3473, allocations: 108.7 kB / 1.354 GB, free: 7.859 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.3476, allocations: 209.3 kB / 1.354 GB, free: 7.633 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3477, allocations: 12.81 kB / 1.354 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.3477, allocations: 20.38 kB / 1.354 GB, free: 7.602 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.3483, allocations: 360.6 kB / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3483, allocations: 0 / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3483, allocations: 8 kB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/0.3483, allocations: 24.42 kB / 1.354 GB, free: 7.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.3488, allocations: 297.4 kB / 1.355 GB, free: 6.902 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.3512, allocations: 1.624 MB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.3516, allocations: 250.6 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.3518, allocations: 101.8 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-05/0.3519, allocations: 19.92 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.3519, allocations: 34.56 kB / 1.357 GB, free: 4.703 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.3519, allocations: 0 / 1.357 GB, free: 4.703 MB / 1.045 GB Notification: Performance of matching and sorting (n=23): time 0.002539/0.3545, allocations: 0.9084 MB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.3545, allocations: 85.05 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.3548, allocations: 211.7 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.3548, allocations: 33.7 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3549, allocations: 172.4 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.355, allocations: 83.31 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.3551, allocations: 69.69 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3553, allocations: 326.8 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.3555, allocations: 135.9 kB / 1.358 GB, free: 2.625 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.3558, allocations: 205.2 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.3563, allocations: 373.1 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3563, allocations: 0 / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009288/0.3572, allocations: 0.5083 MB / 1.36 GB, free: 1.465 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3573, allocations: 4 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3573, allocations: 4 kB / 1.36 GB, free: 1.457 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.3578, allocations: 151.4 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.358, allocations: 59.91 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.3615, allocations: 3.984 MB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.3617, allocations: 24.08 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.3617, allocations: 12 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.3619, allocations: 171.2 kB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.362, allocations: 23.91 kB / 1.364 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000907/0.3629, allocations: 478.8 kB / 1.364 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3629, allocations: 4 kB / 1.364 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3629, allocations: 3.984 kB / 1.364 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3629, allocations: 4 kB / 1.364 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.3646, allocations: 0.9656 MB / 1.365 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-06/0.3646, allocations: 0 / 1.365 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.3647, allocations: 35.98 kB / 1.365 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004035/0.3651, allocations: 139.3 kB / 1.365 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.3651, allocations: 8 kB / 1.365 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003205/0.3683, allocations: 3.953 MB / 1.369 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.3683, allocations: 4.031 kB / 1.369 GB, free: 6.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.3692, allocations: 0.6334 MB / 1.37 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3693, allocations: 47.77 kB / 1.37 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.3694, allocations: 11.94 kB / 1.37 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.3696, allocations: 19.98 kB / 1.37 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.3697, allocations: 23.95 kB / 1.37 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.3697, allocations: 12 kB / 1.37 GB, free: 5.969 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001651/0.3699, allocations: 153.5 kB / 1.37 GB, free: 5.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3699, allocations: 0 / 1.37 GB, free: 5.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005329/0.3704, allocations: 103.8 kB / 1.37 GB, free: 5.719 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/0.3716, allocations: 1.194 MB / 1.371 GB, free: 4.457 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.3727, allocations: 0.572 MB / 1.372 GB, free: 3.859 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3727, allocations: 0 / 1.372 GB, free: 3.859 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005524/0.3732, allocations: 386.1 kB / 1.372 GB, free: 3.457 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.3737, allocations: 41.33 kB / 1.372 GB, free: 3.418 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/0.3783, allocations: 3.337 MB / 1.376 GB, free: 15.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.3787, allocations: 0.779 MB / 1.376 GB, free: 15.06 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001814/0.3789, allocations: 58.23 kB / 1.376 GB, free: 15 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.379, allocations: 75.41 kB / 1.377 GB, free: 14.93 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/0.379, allocations: 4 kB / 1.377 GB, free: 14.92 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.4126, allocations: 7.156 MB / 1.384 GB, free: 7.941 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.51, allocations: 19.12 kB / 1.384 GB, free: 7.926 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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: 20.199141565011814]