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.001449/0.001449, allocations: 106.7 kB / 16.41 MB, free: 6.484 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.001727/0.001727, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.17 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.471/2.471, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.91 kB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7803, allocations: 151.6 MB / 1.167 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005861/0.7862, allocations: 3.866 MB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003005/0.7892, allocations: 1.769 MB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.7896, allocations: 11.94 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.791, allocations: 450.2 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006708/0.7917, allocations: 242.8 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006832/0.7924, allocations: 257 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007187/0.7931, allocations: 0.4906 MB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005955/0.7937, allocations: 360.7 kB / 1.175 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.794, allocations: 199.3 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.7945, allocations: 227.2 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.7946, allocations: 28 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.7949, allocations: 195.5 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.7951, allocations: 131.7 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.7953, allocations: 187 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.7959, allocations: 492.3 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7959, allocations: 0 / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.774e-06/0.796, allocations: 0 / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.796, allocations: 4 kB / 1.176 GB, free: 11.05 MB / 0.9044 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.001235/0.7972, allocations: 0.6548 MB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7973, allocations: 12.92 kB / 1.177 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006256/0.7979, allocations: 84.41 kB / 1.177 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.7984, allocations: 305.1 kB / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.7984, allocations: 21.03 kB / 1.177 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.7985, allocations: 28.36 kB / 1.177 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008021/0.7993, allocations: 490 kB / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.7993, allocations: 7.938 kB / 1.177 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.7993, allocations: 12 kB / 1.177 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/0.7994, allocations: 40.62 kB / 1.178 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.8001, allocations: 362.2 kB / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.8024, allocations: 2.037 MB / 1.18 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.803, allocations: 215.5 kB / 1.18 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/0.8034, allocations: 156.8 kB / 1.18 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.8034, allocations: 3.984 kB / 1.18 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.8034, allocations: 34.56 kB / 1.18 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 3.156e-06/0.8034, allocations: 0 / 1.18 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001123/0.8046, allocations: 425.3 kB / 1.181 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.8046, allocations: 51.41 kB / 1.181 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.8049, allocations: 262.7 kB / 1.181 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.8049, allocations: 29.7 kB / 1.181 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.8051, allocations: 215.6 kB / 1.181 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.8051, allocations: 63.11 kB / 1.181 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/0.8052, allocations: 57.89 kB / 1.181 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8054, allocations: 338.8 kB / 1.182 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.8057, allocations: 109.8 kB / 1.182 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.806, allocations: 204.1 kB / 1.182 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.8065, allocations: 305.5 kB / 1.182 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.8066, allocations: 0 / 1.182 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007821/0.8074, allocations: 360.1 kB / 1.183 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.8074, allocations: 4 kB / 1.183 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.8074, allocations: 4.469 kB / 1.183 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.8076, allocations: 40.83 kB / 1.183 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.8079, allocations: 67.89 kB / 1.183 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.8094, allocations: 1.437 MB / 1.184 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.8097, allocations: 43.77 kB / 1.184 GB, free: 2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.8097, allocations: 15.98 kB / 1.184 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003521/0.8101, allocations: 212.6 kB / 1.184 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003161/0.8104, allocations: 224.9 kB / 1.185 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005487/0.811, allocations: 324.1 kB / 1.185 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.457e-06/0.811, allocations: 0 / 1.185 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006846/0.8117, allocations: 341.7 kB / 1.185 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.8117, allocations: 4 kB / 1.185 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8117, allocations: 4 kB / 1.185 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.8117, allocations: 8 kB / 1.185 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.812, allocations: 67.89 kB / 1.185 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.812, allocations: 11.94 kB / 1.185 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.8123, allocations: 40.03 kB / 1.185 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.8123, allocations: 16 kB / 1.185 GB, free: 0.6328 MB / 0.9044 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.0001581/0.8125, allocations: 199.5 kB / 1.186 GB, free: 444 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.8126, allocations: 27.72 kB / 1.186 GB, free: 416 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.045e-05/0.8127, allocations: 30.17 kB / 1.186 GB, free: 380 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.8127, allocations: 4 kB / 1.186 GB, free: 376 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.8127, allocations: 0 / 1.186 GB, free: 376 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8127, allocations: 0 / 1.186 GB, free: 376 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.814, allocations: 0.756 MB / 1.186 GB, free: 15.53 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.814, allocations: 0 / 1.186 GB, free: 15.53 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.8142, allocations: 44.03 kB / 1.186 GB, free: 15.49 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.8143, allocations: 24.84 kB / 1.186 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.8144, allocations: 7.938 kB / 1.186 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.8156, allocations: 1.422 MB / 1.188 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.8156, allocations: 7.922 kB / 1.188 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006817/0.8163, allocations: 363.4 kB / 1.188 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.8164, allocations: 120.7 kB / 1.188 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.8165, allocations: 4 kB / 1.188 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.8167, allocations: 15.98 kB / 1.188 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.8167, allocations: 23.91 kB / 1.188 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.8168, allocations: 7.938 kB / 1.188 GB, free: 13.32 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001986/0.817, allocations: 190 kB / 1.188 GB, free: 13.13 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.51e-07/0.817, allocations: 0 / 1.188 GB, free: 13.13 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006202/0.8176, allocations: 139.5 kB / 1.189 GB, free: 13 MB / 0.92 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.0001184/0.8177, allocations: 103.2 kB / 1.189 GB, free: 12.88 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.8188, allocations: 0.4885 MB / 1.189 GB, free: 12.38 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8189, allocations: 0 / 1.189 GB, free: 12.38 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.8192, allocations: 218.6 kB / 1.189 GB, free: 12.16 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.8197, allocations: 74.14 kB / 1.189 GB, free: 12.09 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.8208, allocations: 0.587 MB / 1.19 GB, free: 11.47 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.8212, allocations: 0.8035 MB / 1.191 GB, free: 10.64 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.8213, allocations: 23.44 kB / 1.191 GB, free: 10.61 MB / 0.92 GB Notification: Performance of SimCode: time 6.61e-07/0.8213, allocations: 0 / 1.191 GB, free: 10.61 MB / 0.92 GB Notification: Performance of Templates: time 0.007868/0.8292, allocations: 4.793 MB / 1.196 GB, free: 5.836 MB / 0.92 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