Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.001625/0.001625, allocations: 108 kB / 15.61 MB, free: 152 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.001992/0.001992, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.656/2.656, allocations: 469.4 MB / 0.742 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 61.36 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2487, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004835/0.2535, allocations: 3.265 MB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.2567, allocations: 2.022 MB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.2569, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008874/0.2578, allocations: 286.8 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005086/0.2583, allocations: 234.9 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.259, allocations: 293.3 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.2594, allocations: 406.7 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.2598, allocations: 204.2 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.26, allocations: 151.5 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.2604, allocations: 207.2 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.2604, allocations: 24 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.2609, allocations: 263.5 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.261, allocations: 123.7 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.2612, allocations: 151.2 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.2617, allocations: 490.8 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2617, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2617, allocations: 3.938 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.2618, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009938/0.2628, allocations: 0.5903 MB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2628, allocations: 12.03 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.076e-05/0.2629, allocations: 70.64 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000984/0.2639, allocations: 116.4 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.2642, allocations: 272.5 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.2642, allocations: 16.94 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.2643, allocations: 48.41 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.265, allocations: 449.1 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2651, allocations: 4 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.2651, allocations: 4 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.2653, allocations: 40.53 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006152/0.2659, allocations: 369.9 kB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.2683, allocations: 2.214 MB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.2687, allocations: 282.3 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.269, allocations: 164.8 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.269, allocations: 0 / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.269, allocations: 38.5 kB / 1.076 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.102e-06/0.269, allocations: 0 / 1.076 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.001706/0.2707, allocations: 1.053 MB / 1.077 GB, free: 296 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.2708, allocations: 59.39 kB / 1.077 GB, free: 224 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.2711, allocations: 260.8 kB / 1.077 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.2711, allocations: 33.7 kB / 1.077 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2712, allocations: 183.9 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.2713, allocations: 94.73 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.2714, allocations: 73.69 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.2716, allocations: 330.8 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.2718, allocations: 159.9 kB / 1.078 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.2722, allocations: 249.5 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.2727, allocations: 402.8 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2727, allocations: 7.938 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001183/0.2739, allocations: 0.601 MB / 1.079 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.274, allocations: 8 kB / 1.079 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.274, allocations: 4.312 kB / 1.079 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006659/0.2746, allocations: 188.7 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.275, allocations: 63.89 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.2777, allocations: 2.488 MB / 1.082 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.2782, allocations: 23.97 kB / 1.082 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.2782, allocations: 16.11 kB / 1.082 GB, free: 10.82 MB / 0.8419 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.2784, allocations: 171.4 kB / 1.082 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.2784, allocations: 27.72 kB / 1.082 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.279, allocations: 354 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.279, allocations: 4 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.279, allocations: 0 / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.279, allocations: 0 / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009909/0.28, allocations: 0.8199 MB / 1.084 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.28, allocations: 4 kB / 1.084 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.2804, allocations: 75.94 kB / 1.084 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2804, allocations: 0 / 1.084 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.2805, allocations: 11.98 kB / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2805, allocations: 0 / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.2805, allocations: 7.984 kB / 1.084 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.2812, allocations: 0.6104 MB / 1.084 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.2813, allocations: 128.9 kB / 1.084 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.2814, allocations: 8 kB / 1.084 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.2816, allocations: 19.91 kB / 1.084 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.2817, allocations: 19.92 kB / 1.084 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.2817, allocations: 4 kB / 1.084 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002161/0.2819, allocations: 192.5 kB / 1.085 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2819, allocations: 0 / 1.085 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004121/0.2824, allocations: 88 kB / 1.085 GB, free: 8.188 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009847/0.2834, allocations: 1.175 MB / 1.086 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009385/0.2843, allocations: 0.5612 MB / 1.086 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2843, allocations: 4.125 kB / 1.086 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.2845, allocations: 143.9 kB / 1.087 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.285, allocations: 62.2 kB / 1.087 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.29, allocations: 3.693 MB / 1.09 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.2903, allocations: 0.7912 MB / 1.091 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.2905, allocations: 82.91 kB / 1.091 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.2907, allocations: 87.41 kB / 1.091 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.2907, allocations: 0 / 1.091 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.3163, allocations: 6.806 MB / 1.098 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.917/9.234, allocations: 15.75 kB / 1.098 GB, free: 10.71 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches