Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001462/0.001462, allocations: 109.1 kB / 15.99 MB, free: 6.355 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.001478/0.001478, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.552/2.552, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 72.48 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3144, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005775/0.3202, allocations: 3.892 MB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00282/0.3231, allocations: 1.761 MB / 1.07 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.3233, allocations: 8 kB / 1.07 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.3246, allocations: 426.6 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.3251, allocations: 223.1 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.3257, allocations: 229.6 kB / 1.07 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.3263, allocations: 0.4945 MB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006503/0.3269, allocations: 401.1 kB / 1.071 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.3272, allocations: 199.3 kB / 1.072 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.3275, allocations: 243.2 kB / 1.072 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.3276, allocations: 31.94 kB / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.3279, allocations: 187.6 kB / 1.072 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3281, allocations: 131.6 kB / 1.072 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.3283, allocations: 183.1 kB / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.3287, allocations: 371.2 kB / 1.073 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3287, allocations: 0 / 1.073 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3287, allocations: 0 / 1.073 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3287, allocations: 0 / 1.073 GB, free: 6.352 MB / 0.8419 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.001177/0.3299, allocations: 0.6665 MB / 1.073 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.33, allocations: 12.03 kB / 1.073 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.3305, allocations: 84.41 kB / 1.073 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.3309, allocations: 291.6 kB / 1.074 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.3309, allocations: 21.03 kB / 1.074 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.331, allocations: 28.38 kB / 1.074 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.3318, allocations: 490 kB / 1.074 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3319, allocations: 0 / 1.074 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.3319, allocations: 12 kB / 1.074 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.854e-05/0.332, allocations: 44.61 kB / 1.074 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007632/0.3327, allocations: 366.2 kB / 1.075 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.3353, allocations: 2.041 MB / 1.077 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/0.3359, allocations: 218.7 kB / 1.077 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.3363, allocations: 152.8 kB / 1.077 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.3363, allocations: 4 kB / 1.077 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3364, allocations: 38.47 kB / 1.077 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.3364, allocations: 0 / 1.077 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001171/0.3375, allocations: 429.3 kB / 1.077 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3376, allocations: 51.41 kB / 1.077 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.3379, allocations: 258.7 kB / 1.078 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.3379, allocations: 29.7 kB / 1.078 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.3381, allocations: 207.7 kB / 1.078 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.3382, allocations: 71.02 kB / 1.078 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.762e-05/0.3383, allocations: 61.98 kB / 1.078 GB, free: 444 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3384, allocations: 338.7 kB / 1.078 GB, free: 96 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5012/0.8397, allocations: 99.48 kB / 1.078 GB, free: 22.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.8402, allocations: 203.6 kB / 1.079 GB, free: 22.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/0.8407, allocations: 318.2 kB / 1.079 GB, free: 22.31 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.8407, allocations: 1.031 kB / 1.079 GB, free: 22.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008557/0.8416, allocations: 353.8 kB / 1.079 GB, free: 22.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.8416, allocations: 7.047 kB / 1.079 GB, free: 22.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.8416, allocations: 3.594 kB / 1.079 GB, free: 22.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.8419, allocations: 35.89 kB / 1.079 GB, free: 22.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.8422, allocations: 68.39 kB / 1.079 GB, free: 22.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.8434, allocations: 1.449 MB / 1.081 GB, free: 20.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.8437, allocations: 37.81 kB / 1.081 GB, free: 20.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.8437, allocations: 13.41 kB / 1.081 GB, free: 20.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003551/0.8441, allocations: 217.2 kB / 1.081 GB, free: 20.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002767/0.8444, allocations: 208.7 kB / 1.081 GB, free: 20.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004834/0.8449, allocations: 317.3 kB / 1.082 GB, free: 20.51 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.8449, allocations: 1.531 kB / 1.082 GB, free: 20.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006462/0.8455, allocations: 342 kB / 1.082 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.8455, allocations: 6.125 kB / 1.082 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8456, allocations: 4.969 kB / 1.082 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.493e-06/0.8456, allocations: 5.312 kB / 1.082 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.8458, allocations: 72.19 kB / 1.082 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.8459, allocations: 10.58 kB / 1.082 GB, free: 20.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.8461, allocations: 35.06 kB / 1.082 GB, free: 20.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.8461, allocations: 14.84 kB / 1.082 GB, free: 20.44 MB / 0.8419 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 9.419e-05/0.8462, allocations: 198.3 kB / 1.082 GB, free: 20.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.8463, allocations: 25.67 kB / 1.082 GB, free: 20.24 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.8463, allocations: 31.73 kB / 1.082 GB, free: 20.24 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.8463, allocations: 2.062 kB / 1.082 GB, free: 20.24 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.8464, allocations: 3.75 kB / 1.082 GB, free: 20.24 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.8464, allocations: 2.188 kB / 1.082 GB, free: 20.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.8475, allocations: 0.7541 MB / 1.083 GB, free: 19.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.8475, allocations: 1 kB / 1.083 GB, free: 19.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.8477, allocations: 40.19 kB / 1.083 GB, free: 19.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-05/0.8478, allocations: 27.09 kB / 1.083 GB, free: 19.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.8478, allocations: 3.203 kB / 1.083 GB, free: 19.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007154/0.8485, allocations: 1.438 MB / 1.084 GB, free: 18.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8485, allocations: 4.156 kB / 1.085 GB, free: 18.31 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.8491, allocations: 365.1 kB / 1.085 GB, free: 18.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.8492, allocations: 126.3 kB / 1.085 GB, free: 17.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.8492, allocations: 6.438 kB / 1.085 GB, free: 17.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.8494, allocations: 12.7 kB / 1.085 GB, free: 17.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.8495, allocations: 16.67 kB / 1.085 GB, free: 17.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.8495, allocations: 5.188 kB / 1.085 GB, free: 17.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001634/0.8497, allocations: 194.6 kB / 1.085 GB, free: 17.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8497, allocations: 0 / 1.085 GB, free: 17.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005715/0.8502, allocations: 140.8 kB / 1.085 GB, free: 17.8 MB / 0.8419 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.0001036/0.8504, allocations: 106 kB / 1.085 GB, free: 17.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.8514, allocations: 0.4909 MB / 1.086 GB, free: 17.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8514, allocations: 2.844 kB / 1.086 GB, free: 17.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.8517, allocations: 230.6 kB / 1.086 GB, free: 17.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.8522, allocations: 67.17 kB / 1.086 GB, free: 17.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009146/0.8532, allocations: 0.7292 MB / 1.087 GB, free: 16.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.8534, allocations: 0.7952 MB / 1.088 GB, free: 16.13 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.8535, allocations: 26.89 kB / 1.088 GB, free: 16.12 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.8535, allocations: 4 kB / 1.088 GB, free: 16.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.008782/0.8623, allocations: 4.767 MB / 1.092 GB, free: 15.76 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches