Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001049/0.001049, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.977/2.977, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 13.11 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.327, allocations: 159.6 MB / 1.058 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004215/0.3313, allocations: 3.376 MB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.3342, allocations: 1.66 MB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003461/0.3346, allocations: 8 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.3349, allocations: 59.5 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006796/0.3356, allocations: 187.1 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.3363, allocations: 202.4 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.3371, allocations: 0.5647 MB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.3376, allocations: 332.3 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.3379, allocations: 163.4 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.3383, allocations: 215.2 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.3384, allocations: 16 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.3386, allocations: 87.81 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.3387, allocations: 115.7 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.701e-05/0.3389, allocations: 85.52 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.3393, allocations: 363.3 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3393, allocations: 0 / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3393, allocations: 0 / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.3394, allocations: 0 / 1.065 GB, free: 13.89 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00117/0.3405, allocations: 0.608 MB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3406, allocations: 8.031 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005786/0.3412, allocations: 87.55 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.3416, allocations: 282.4 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.3416, allocations: 24.64 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.3417, allocations: 28 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008531/0.3425, allocations: 0.4901 MB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3425, allocations: 0 / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.3426, allocations: 15.98 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-05/0.3427, allocations: 40.62 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/0.3434, allocations: 382.2 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.3458, allocations: 2.045 MB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.3463, allocations: 226.7 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.3467, allocations: 176.7 kB / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.3467, allocations: 0 / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3468, allocations: 34.56 kB / 1.07 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.874e-06/0.3468, allocations: 0 / 1.07 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001065/0.3478, allocations: 457 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.3479, allocations: 55.41 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.3482, allocations: 262.5 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.3482, allocations: 29.7 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.3483, allocations: 211.7 kB / 1.071 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.3484, allocations: 63.11 kB / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.3484, allocations: 4 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3485, allocations: 338.8 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.3488, allocations: 108.4 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.3491, allocations: 215.6 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.3494, allocations: 131.9 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3494, allocations: 0 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007701/0.3502, allocations: 367.8 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.3503, allocations: 201.8 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3504, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/0.3506, allocations: 36.83 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.3509, allocations: 75.89 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.3521, allocations: 1.335 MB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.3524, allocations: 51.73 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.3524, allocations: 16 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-06/0.3524, allocations: 5.25 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005829/0.353, allocations: 295.9 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.353, allocations: 7.938 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/0.3531, allocations: 4 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.3533, allocations: 79.89 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3533, allocations: 11.98 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.3536, allocations: 39.8 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.3536, allocations: 16 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.3538, allocations: 252.9 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.3538, allocations: 23.72 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.3539, allocations: 30.17 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3539, allocations: 4 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3539, allocations: 0 / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3539, allocations: 0 / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.3552, allocations: 0.7753 MB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3552, allocations: 0 / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.3554, allocations: 55.84 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.3555, allocations: 24.91 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3555, allocations: 4 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009873/0.3565, allocations: 1.315 MB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3565, allocations: 3.953 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.3572, allocations: 391.4 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3573, allocations: 120.7 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.3573, allocations: 4 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3575, allocations: 23.97 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.3576, allocations: 19.94 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3576, allocations: 4 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001685/0.3578, allocations: 182 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3578, allocations: 4 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006194/0.3584, allocations: 143.5 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001374/0.3586, allocations: 107.2 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.3597, allocations: 0.5051 MB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3597, allocations: 0 / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.36, allocations: 227.3 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.3605, allocations: 72.23 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.3615, allocations: 0.6639 MB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.362, allocations: 0.8035 MB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002425/0.3622, allocations: 70.23 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.3623, allocations: 19.44 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3623, allocations: 0 / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.007528/0.3698, allocations: 3.112 MB / 1.083 GB, free: 11.2 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches