Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001671/0.001671, allocations: 110.2 kB / 16.46 MB, free: 6.5 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.001819/0.001819, allocations: 189.6 kB / 17.39 MB, free: 5.688 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.465/1.465, allocations: 225.6 MB / 243.8 MB, free: 14.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 443.5 MB / 0.7228 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 1.049 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8628/0.8648, allocations: 160.7 MB / 1.206 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005907/0.8707, allocations: 3.905 MB / 1.209 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003213/0.8739, allocations: 1.788 MB / 1.211 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.8741, allocations: 15.78 kB / 1.211 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.8756, allocations: 453.9 kB / 1.212 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006516/0.8762, allocations: 250.8 kB / 1.212 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000649/0.8769, allocations: 243.5 kB / 1.212 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006541/0.8775, allocations: 0.4946 MB / 1.213 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005545/0.8781, allocations: 284.9 kB / 1.213 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.8784, allocations: 195.3 kB / 1.213 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.8788, allocations: 247.1 kB / 1.213 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.8788, allocations: 32 kB / 1.213 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.8792, allocations: 195.5 kB / 1.213 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.8793, allocations: 135.6 kB / 1.214 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.8795, allocations: 179.1 kB / 1.214 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006936/0.8802, allocations: 0.4909 MB / 1.214 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8802, allocations: 0 / 1.214 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8802, allocations: 0 / 1.214 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.8802, allocations: 3.938 kB / 1.214 GB, free: 12.82 MB / 0.9356 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.001226/0.8814, allocations: 0.666 MB / 1.215 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.8815, allocations: 8.625 kB / 1.215 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005686/0.882, allocations: 92.59 kB / 1.215 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.8825, allocations: 301.3 kB / 1.215 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.8825, allocations: 25.02 kB / 1.215 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.8826, allocations: 28.38 kB / 1.215 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.8835, allocations: 493.9 kB / 1.216 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.8835, allocations: 0 / 1.216 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.8835, allocations: 15.98 kB / 1.216 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.584e-05/0.8836, allocations: 40.62 kB / 1.216 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.8844, allocations: 362.2 kB / 1.216 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.8868, allocations: 2.037 MB / 1.218 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.8874, allocations: 202.7 kB / 1.218 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.8878, allocations: 140.8 kB / 1.218 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.8878, allocations: 0 / 1.218 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.8879, allocations: 34.56 kB / 1.219 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.8879, allocations: 4 kB / 1.219 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.001209/0.8891, allocations: 425.3 kB / 1.219 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.8891, allocations: 55.41 kB / 1.219 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.8894, allocations: 262.6 kB / 1.219 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.8894, allocations: 29.7 kB / 1.219 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.8896, allocations: 220.1 kB / 1.219 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.8896, allocations: 71.41 kB / 1.22 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.8897, allocations: 57.94 kB / 1.22 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.8899, allocations: 338.8 kB / 1.22 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.8902, allocations: 97.92 kB / 1.22 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.8905, allocations: 208 kB / 1.22 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006368/0.8911, allocations: 309.4 kB / 1.221 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.8912, allocations: 3.984 kB / 1.221 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008158/0.892, allocations: 356.5 kB / 1.221 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.892, allocations: 4.469 kB / 1.221 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.892, allocations: 11.94 kB / 1.221 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.8922, allocations: 32.84 kB / 1.221 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.8925, allocations: 63.89 kB / 1.221 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.8941, allocations: 1.449 MB / 1.222 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.8944, allocations: 47.72 kB / 1.222 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.8944, allocations: 12 kB / 1.222 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003893/0.8948, allocations: 216.6 kB / 1.223 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003597/0.8952, allocations: 225 kB / 1.223 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006312/0.8958, allocations: 319.1 kB / 1.223 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.8958, allocations: 0 / 1.223 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007194/0.8965, allocations: 339.2 kB / 1.223 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.8965, allocations: 4 kB / 1.223 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8965, allocations: 4 kB / 1.223 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.8966, allocations: 8 kB / 1.223 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.8968, allocations: 67.89 kB / 1.224 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.8968, allocations: 8 kB / 1.224 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.8971, allocations: 32.28 kB / 1.224 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.8971, allocations: 16 kB / 1.224 GB, free: 2.414 MB / 0.9356 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.8973, allocations: 206.3 kB / 1.224 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.8974, allocations: 31.81 kB / 1.224 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.495e-05/0.8975, allocations: 30.17 kB / 1.224 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.8975, allocations: 4 kB / 1.224 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8975, allocations: 0 / 1.224 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.8975, allocations: 3.984 kB / 1.224 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.8988, allocations: 0.7384 MB / 1.225 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8988, allocations: 3.984 kB / 1.225 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.899, allocations: 47.92 kB / 1.225 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.8991, allocations: 28.83 kB / 1.225 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.8992, allocations: 4 kB / 1.225 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.9004, allocations: 1.427 MB / 1.226 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9004, allocations: 0 / 1.226 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.9011, allocations: 367.9 kB / 1.226 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.9012, allocations: 124.8 kB / 1.227 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.9013, allocations: 12 kB / 1.227 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.9015, allocations: 11.98 kB / 1.227 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.9015, allocations: 19.89 kB / 1.227 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.9015, allocations: 7.938 kB / 1.227 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001958/0.9017, allocations: 186 kB / 1.227 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.9017, allocations: 0 / 1.227 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006127/0.9023, allocations: 143.7 kB / 1.227 GB, free: 14.77 MB / 0.9512 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001336/0.9025, allocations: 111.2 kB / 1.227 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.9036, allocations: 479.1 kB / 1.227 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9036, allocations: 0 / 1.227 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.904, allocations: 215.5 kB / 1.228 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.9045, allocations: 76.38 kB / 1.228 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.9056, allocations: 0.5949 MB / 1.228 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.9061, allocations: 0.7996 MB / 1.229 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.9061, allocations: 27.44 kB / 1.229 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.9061, allocations: 4 kB / 1.229 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of Templates: time 0.00826/0.9144, allocations: 4.791 MB / 1.234 GB, free: 7.609 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches