Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.001608/0.001608, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001197, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.3 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.6462, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003779/0.65, allocations: 3.068 MB / 0.9527 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.6524, allocations: 1.916 MB / 0.9546 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.6525, allocations: 4.188 kB / 0.9546 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007813/0.6533, allocations: 274.9 kB / 0.9549 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.6537, allocations: 192.3 kB / 0.955 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.6542, allocations: 249.6 kB / 0.9553 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.6545, allocations: 319.5 kB / 0.9556 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.6548, allocations: 193 kB / 0.9558 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.655, allocations: 132.8 kB / 0.9559 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.6552, allocations: 153.2 kB / 0.956 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.6553, allocations: 21 kB / 0.9561 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006084/0.6559, allocations: 396.8 kB / 0.9564 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.656, allocations: 88.5 kB / 0.9565 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.6561, allocations: 116 kB / 0.9566 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005396/0.6567, allocations: 492.2 kB / 0.9571 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6567, allocations: 3.984 kB / 0.9571 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6567, allocations: 5.375 kB / 0.9571 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6567, allocations: 0 / 0.9571 GB, free: 3.664 MB / 0.7169 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.0007927/0.6575, allocations: 0.5523 MB / 0.9576 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.6575, allocations: 9.625 kB / 0.9577 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.6576, allocations: 54.98 kB / 0.9577 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007799/0.6584, allocations: 112.9 kB / 0.9578 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.6586, allocations: 264.9 kB / 0.9581 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.6587, allocations: 17.56 kB / 0.9581 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.6587, allocations: 20.33 kB / 0.9581 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.6592, allocations: 355 kB / 0.9584 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6592, allocations: 0.75 kB / 0.9584 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.6592, allocations: 6.438 kB / 0.9584 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/0.6593, allocations: 29.39 kB / 0.9585 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.6597, allocations: 294 kB / 0.9588 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.6616, allocations: 1.738 MB / 0.9605 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.6621, allocations: 327.2 kB / 0.9608 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.6622, allocations: 108.2 kB / 0.9609 GB, free: 432 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.89e-05/0.6623, allocations: 86.98 kB / 0.961 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.6624, allocations: 40.8 kB / 0.961 GB, free: 284 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.6624, allocations: 0 / 0.961 GB, free: 284 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.002396/0.6648, allocations: 0.9641 MB / 0.9619 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.6648, allocations: 83.86 kB / 0.962 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.665, allocations: 220.7 kB / 0.9622 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.6651, allocations: 25.7 kB / 0.9622 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.41e-05/0.6652, allocations: 171.8 kB / 0.9624 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.6652, allocations: 81.86 kB / 0.9625 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/0.6653, allocations: 64.08 kB / 0.9626 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.6654, allocations: 336.3 kB / 0.9629 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.6656, allocations: 125.5 kB / 0.963 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.6659, allocations: 209 kB / 0.9632 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.6664, allocations: 372.8 kB / 0.9635 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6664, allocations: 0 / 0.9635 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008468/0.6672, allocations: 0.5071 MB / 0.964 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6672, allocations: 11.84 kB / 0.9641 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.6673, allocations: 2.312 kB / 0.9641 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005228/0.6678, allocations: 155 kB / 0.9642 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.6681, allocations: 59.64 kB / 0.9643 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/0.6709, allocations: 4.189 MB / 0.9684 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.6711, allocations: 20.88 kB / 0.9684 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.6712, allocations: 14.03 kB / 0.9684 GB, free: 9.715 MB / 0.7325 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.0001863/0.6714, allocations: 167.2 kB / 0.9685 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.6715, allocations: 22.39 kB / 0.9686 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008713/0.6723, allocations: 470.4 kB / 0.969 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.6724, allocations: 2.75 kB / 0.969 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6724, allocations: 0.7188 kB / 0.969 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6724, allocations: 0.75 kB / 0.969 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.6739, allocations: 1.025 MB / 0.97 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6739, allocations: 1.344 kB / 0.97 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.6741, allocations: 33.61 kB / 0.9701 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/0.6745, allocations: 150.2 kB / 0.9702 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.6745, allocations: 4.281 kB / 0.9702 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.6774, allocations: 4.176 MB / 0.9743 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.6774, allocations: 2.688 kB / 0.9743 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000854/0.6783, allocations: 0.629 MB / 0.9749 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.6784, allocations: 127.4 kB / 0.975 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.6785, allocations: 7.562 kB / 0.975 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.6787, allocations: 17.52 kB / 0.975 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.6788, allocations: 30.91 kB / 0.9751 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.6788, allocations: 7.781 kB / 0.9751 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000162/0.679, allocations: 158.5 kB / 0.9752 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.679, allocations: 0 / 0.9752 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005693/0.6796, allocations: 90.66 kB / 0.9753 GB, free: 3.402 MB / 0.7325 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.001168/0.6808, allocations: 1.205 MB / 0.9765 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.6818, allocations: 0.5918 MB / 0.9771 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6818, allocations: 1.188 kB / 0.9771 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005676/0.6824, allocations: 402.7 kB / 0.9775 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/0.683, allocations: 45.91 kB / 0.9775 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.6879, allocations: 3.319 MB / 0.9807 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.6883, allocations: 0.7833 MB / 0.9815 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002188/0.6885, allocations: 54.03 kB / 0.9816 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.6887, allocations: 72.5 kB / 0.9816 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/0.6887, allocations: 0 / 0.9816 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04182/0.7305, allocations: 6.626 MB / 0.9881 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.37, allocations: 0.7344 kB / 0.9881 GB, free: 8.887 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches