Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001779/0.001779, allocations: 104.2 kB / 16.35 MB, free: 6.289 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.001777/0.001777, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 68.98 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3055, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006161/0.3117, allocations: 3.863 MB / 0.9549 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003046/0.3148, allocations: 1.769 MB / 0.9566 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.3151, allocations: 11.94 kB / 0.9566 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.3164, allocations: 446.2 kB / 0.9571 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.317, allocations: 238.8 kB / 0.9573 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.3178, allocations: 251.5 kB / 0.9575 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.3184, allocations: 498.4 kB / 0.958 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006129/0.319, allocations: 368.8 kB / 0.9583 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.3192, allocations: 195.3 kB / 0.9585 GB, free: 452 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003776/0.3196, allocations: 239.2 kB / 0.9588 GB, free: 212 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.909e-05/0.3197, allocations: 28 kB / 0.9588 GB, free: 184 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.32, allocations: 183.6 kB / 0.959 GB, free: 0 / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.3202, allocations: 127.7 kB / 0.9591 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.3204, allocations: 187.1 kB / 0.9593 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.321, allocations: 498.4 kB / 0.9597 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.321, allocations: 0 / 0.9597 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.994e-06/0.321, allocations: 0 / 0.9597 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.321, allocations: 0 / 0.9597 GB, free: 15.2 MB / 0.7481 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.001307/0.3223, allocations: 0.6627 MB / 0.9604 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3224, allocations: 8.031 kB / 0.9604 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005886/0.323, allocations: 88.34 kB / 0.9605 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.3234, allocations: 299.6 kB / 0.9608 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.3235, allocations: 21.03 kB / 0.9608 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.3235, allocations: 36.36 kB / 0.9608 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008212/0.3244, allocations: 486 kB / 0.9613 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3244, allocations: 0 / 0.9613 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.3244, allocations: 16 kB / 0.9613 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.89e-05/0.3245, allocations: 36.64 kB / 0.9613 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/0.3253, allocations: 366.2 kB / 0.9617 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.3277, allocations: 2.037 MB / 0.9637 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/0.3282, allocations: 218.7 kB / 0.9639 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.3286, allocations: 148.8 kB / 0.964 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.3287, allocations: 4 kB / 0.964 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3287, allocations: 42.55 kB / 0.9641 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 2.435e-06/0.3287, allocations: 0 / 0.9641 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001132/0.3299, allocations: 419 kB / 0.9645 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3299, allocations: 55.41 kB / 0.9645 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.3302, allocations: 266.5 kB / 0.9648 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.3303, allocations: 29.7 kB / 0.9648 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3304, allocations: 207.8 kB / 0.965 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/0.3305, allocations: 67.03 kB / 0.9651 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.3306, allocations: 57.89 kB / 0.9651 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3307, allocations: 338.8 kB / 0.9654 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.331, allocations: 97.91 kB / 0.9655 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.3313, allocations: 207.6 kB / 0.9657 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/0.3318, allocations: 319.5 kB / 0.966 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3318, allocations: 4 kB / 0.966 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007387/0.3326, allocations: 352.6 kB / 0.9664 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3326, allocations: 12.09 kB / 0.9664 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3326, allocations: 4 kB / 0.9664 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.3329, allocations: 32.83 kB / 0.9664 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.3332, allocations: 63.91 kB / 0.9665 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.3345, allocations: 1.445 MB / 0.9679 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.3348, allocations: 43.67 kB / 0.9679 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.3348, allocations: 15.98 kB / 0.968 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000327/0.3352, allocations: 214.6 kB / 0.9682 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003093/0.3355, allocations: 220.9 kB / 0.9684 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004973/0.336, allocations: 330.7 kB / 0.9687 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.953e-06/0.336, allocations: 0 / 0.9687 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006372/0.3366, allocations: 328.8 kB / 0.969 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.3367, allocations: 8 kB / 0.969 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3367, allocations: 4 kB / 0.969 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/0.3367, allocations: 8 kB / 0.969 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.3369, allocations: 72.36 kB / 0.9691 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.337, allocations: 8 kB / 0.9691 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.3372, allocations: 39.67 kB / 0.9691 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3372, allocations: 19.98 kB / 0.9691 GB, free: 4.773 MB / 0.7481 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.0001372/0.3374, allocations: 200.1 kB / 0.9693 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.3374, allocations: 23.72 kB / 0.9694 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.3375, allocations: 34.17 kB / 0.9694 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3375, allocations: 0 / 0.9694 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3375, allocations: 8 kB / 0.9694 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3375, allocations: 0 / 0.9694 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.3387, allocations: 0.746 MB / 0.9701 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3387, allocations: 0 / 0.9701 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.3389, allocations: 39.91 kB / 0.9702 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.825e-05/0.339, allocations: 28.84 kB / 0.9702 GB, free: 3.617 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.339, allocations: 0 / 0.9702 GB, free: 3.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.3401, allocations: 1.422 MB / 0.9716 GB, free: 2.051 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3401, allocations: 4.188 kB / 0.9716 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.3407, allocations: 367.4 kB / 0.9719 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.3408, allocations: 124.7 kB / 0.9721 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.3409, allocations: 4 kB / 0.9721 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.341, allocations: 15.98 kB / 0.9721 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.3411, allocations: 19.97 kB / 0.9721 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3411, allocations: 7.938 kB / 0.9721 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001921/0.3413, allocations: 182 kB / 0.9723 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3413, allocations: 0 / 0.9723 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005837/0.3419, allocations: 147.5 kB / 0.9724 GB, free: 1.152 MB / 0.7481 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.0001153/0.3421, allocations: 107.2 kB / 0.9725 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.3431, allocations: 497 kB / 0.973 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3432, allocations: 0 / 0.973 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.3435, allocations: 224.1 kB / 0.9732 GB, free: 320 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.344, allocations: 64.97 kB / 0.9733 GB, free: 260 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009549/0.345, allocations: 0.5527 MB / 0.9738 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.3454, allocations: 0.7996 MB / 0.9746 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002025/0.3456, allocations: 70.22 kB / 0.9747 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.3457, allocations: 19.44 kB / 0.9747 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of SimCode: time 7.92e-07/0.3457, allocations: 0 / 0.9747 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of Templates: time 0.007235/0.3529, allocations: 3.517 MB / 0.9781 GB, free: 11.27 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches