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.001834/0.001834, 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.002479/0.002479, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.565/1.565, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.823/2.823, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.91 kB / 0.8692 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.7142, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006576/0.7208, allocations: 3.853 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003208/0.7241, allocations: 1.78 MB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.7243, allocations: 8 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.7258, allocations: 446.2 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006152/0.7265, allocations: 234.8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.7272, allocations: 269.7 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005695/0.7277, allocations: 0.4984 MB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.7284, allocations: 346.9 kB / 1.025 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.7287, allocations: 199.3 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004829/0.7292, allocations: 235.2 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.579e-05/0.7293, allocations: 28 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.7296, allocations: 195.5 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.7298, allocations: 131.6 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.73, allocations: 183.1 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006413/0.7307, allocations: 486.5 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.7307, allocations: 0 / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7307, allocations: 0 / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.7307, allocations: 0 / 1.026 GB, free: 9.668 MB / 0.7794 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.001329/0.7321, allocations: 0.6626 MB / 1.027 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.7321, allocations: 12.03 kB / 1.027 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/0.7327, allocations: 84.41 kB / 1.027 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.7331, allocations: 283.6 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.7332, allocations: 21.03 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.7333, allocations: 36.36 kB / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009662/0.7343, allocations: 493.9 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.7343, allocations: 4 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.7344, allocations: 12 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.79e-05/0.7344, allocations: 40.62 kB / 1.028 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008605/0.7353, allocations: 362.2 kB / 1.028 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.7379, allocations: 2.041 MB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.7385, allocations: 214.6 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000409/0.7389, allocations: 156.8 kB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.7389, allocations: 0 / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.739, allocations: 42.56 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.739, allocations: 0 / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001217/0.7402, allocations: 424.2 kB / 1.031 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.7403, allocations: 51.41 kB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.7406, allocations: 258.6 kB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.7406, allocations: 33.7 kB / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.7408, allocations: 203.7 kB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.7408, allocations: 75.08 kB / 1.031 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.7409, allocations: 53.89 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.7411, allocations: 342.8 kB / 1.032 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.7415, allocations: 93.92 kB / 1.032 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.7419, allocations: 211.5 kB / 1.032 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.7425, allocations: 310.8 kB / 1.032 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7425, allocations: 0 / 1.032 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008121/0.7433, allocations: 368.1 kB / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.7434, allocations: 4 kB / 1.033 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.7434, allocations: 7.938 kB / 1.033 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.7436, allocations: 28.84 kB / 1.033 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.7439, allocations: 71.88 kB / 1.033 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.7456, allocations: 1.437 MB / 1.034 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.7459, allocations: 43.67 kB / 1.034 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.7459, allocations: 16 kB / 1.034 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004269/0.7464, allocations: 216.6 kB / 1.034 GB, free: 388 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000391/0.7468, allocations: 221 kB / 1.035 GB, free: 108 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006435/0.7474, allocations: 317.1 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.7474, allocations: 0 / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008165/0.7483, allocations: 336.8 kB / 1.035 GB, free: 15.41 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.7483, allocations: 7.984 kB / 1.035 GB, free: 15.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7483, allocations: 4 kB / 1.035 GB, free: 15.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.7483, allocations: 8.5 kB / 1.035 GB, free: 15.39 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.7486, allocations: 71.91 kB / 1.035 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.7486, allocations: 11.92 kB / 1.035 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.7489, allocations: 39.67 kB / 1.035 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.7489, allocations: 12 kB / 1.035 GB, free: 15.25 MB / 0.795 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.0001724/0.7491, allocations: 196.9 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.7491, allocations: 31.72 kB / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.7492, allocations: 30.17 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.7492, allocations: 4 kB / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7492, allocations: 0 / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.7493, allocations: 7.922 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.7506, allocations: 0.7507 MB / 1.036 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7506, allocations: 0 / 1.036 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.7508, allocations: 43.97 kB / 1.036 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.7509, allocations: 24.89 kB / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.751, allocations: 8.047 kB / 1.036 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.7523, allocations: 1.418 MB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7523, allocations: 0 / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008139/0.7531, allocations: 375 kB / 1.038 GB, free: 12.13 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.7533, allocations: 124.7 kB / 1.038 GB, free: 11.99 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.7533, allocations: 0 / 1.038 GB, free: 11.99 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.7535, allocations: 19.98 kB / 1.038 GB, free: 11.97 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.7536, allocations: 15.98 kB / 1.038 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.7536, allocations: 15.88 kB / 1.038 GB, free: 11.94 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002068/0.7538, allocations: 186 kB / 1.038 GB, free: 11.75 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7538, allocations: 0 / 1.038 GB, free: 11.75 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006201/0.7544, allocations: 143.5 kB / 1.039 GB, free: 11.61 MB / 0.795 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.0001402/0.7546, allocations: 103.2 kB / 1.039 GB, free: 11.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.7558, allocations: 0.501 MB / 1.039 GB, free: 10.99 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7559, allocations: 4.125 kB / 1.039 GB, free: 10.99 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.7563, allocations: 214.6 kB / 1.039 GB, free: 10.77 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.7568, allocations: 72.64 kB / 1.039 GB, free: 10.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.7578, allocations: 0.5529 MB / 1.04 GB, free: 10.11 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.7583, allocations: 0.7996 MB / 1.041 GB, free: 9.281 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.7585, allocations: 70.22 kB / 1.041 GB, free: 9.215 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.7586, allocations: 23.38 kB / 1.041 GB, free: 9.191 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.7586, allocations: 0 / 1.041 GB, free: 9.191 MB / 0.795 GB Notification: Performance of Templates: time 0.00902/0.7676, allocations: 3.525 MB / 1.044 GB, free: 5.707 MB / 0.795 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=400 -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/jenkins/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