Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005177/0.005177, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.00126/0.00126, allocations: 189.9 kB / 16.79 MB, free: 5.805 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437 MB / 0.7106 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 59.91 kB / 0.8692 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6269/0.6285, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005933/0.6344, allocations: 4.148 MB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.6372, allocations: 1.59 MB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/0.6375, allocations: 4 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.6392, allocations: 0.5541 MB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006166/0.6399, allocations: 223 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.6405, allocations: 191.7 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000885/0.6414, allocations: 0.7753 MB / 1.025 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005374/0.6419, allocations: 321.9 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.6422, allocations: 191.3 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.6427, allocations: 267 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.6428, allocations: 24 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.6432, allocations: 203.6 kB / 1.026 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.6434, allocations: 135.7 kB / 1.026 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.6437, allocations: 187.1 kB / 1.026 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.6442, allocations: 413 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6442, allocations: 4 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6442, allocations: 0 / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.77e-05/0.6442, allocations: 0 / 1.026 GB, free: 9.555 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001439/0.6456, allocations: 0.6787 MB / 1.027 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6457, allocations: 12.03 kB / 1.027 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007844/0.6465, allocations: 108.4 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.6469, allocations: 296.2 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/0.647, allocations: 59.25 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.6471, allocations: 28.38 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008864/0.648, allocations: 0.5087 MB / 1.028 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.648, allocations: 0 / 1.028 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.6481, allocations: 16 kB / 1.028 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/0.6481, allocations: 28.98 kB / 1.028 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.6489, allocations: 379.7 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.6515, allocations: 2.216 MB / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.6523, allocations: 264 kB / 1.031 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.6527, allocations: 152.8 kB / 1.031 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.6527, allocations: 3.984 kB / 1.031 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.6528, allocations: 50.5 kB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.6528, allocations: 0 / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.001586/0.6544, allocations: 0.5615 MB / 1.031 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.6544, allocations: 59.36 kB / 1.031 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.6546, allocations: 232.9 kB / 1.032 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.6547, allocations: 29.7 kB / 1.032 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.6548, allocations: 207.7 kB / 1.032 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.6549, allocations: 63.02 kB / 1.032 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.162e-05/0.655, allocations: 53.7 kB / 1.032 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6551, allocations: 330.8 kB / 1.032 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.6553, allocations: 96.8 kB / 1.032 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.6556, allocations: 190.9 kB / 1.033 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.6561, allocations: 266.6 kB / 1.033 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6561, allocations: 4 kB / 1.033 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000931/0.6571, allocations: 382.8 kB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6571, allocations: 4 kB / 1.033 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6571, allocations: 4 kB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/0.6576, allocations: 113.6 kB / 1.033 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.6579, allocations: 47.91 kB / 1.033 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/0.6611, allocations: 2.83 MB / 1.036 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.6614, allocations: 31.73 kB / 1.036 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.6614, allocations: 11.98 kB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003668/0.6618, allocations: 224 kB / 1.036 GB, free: 14.26 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002904/0.6621, allocations: 179.6 kB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004781/0.6626, allocations: 271.2 kB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/0.6626, allocations: 4 kB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008335/0.6634, allocations: 356.3 kB / 1.037 GB, free: 13.39 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.6634, allocations: 7.938 kB / 1.037 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.6634, allocations: 4 kB / 1.037 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.6638, allocations: 84.84 kB / 1.037 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.664, allocations: 55.97 kB / 1.037 GB, free: 13.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.6661, allocations: 1.508 MB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.6664, allocations: 27.83 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.6664, allocations: 12 kB / 1.039 GB, free: 11.55 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.6666, allocations: 195.3 kB / 1.039 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.6667, allocations: 27.66 kB / 1.039 GB, free: 11.33 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.6667, allocations: 30.11 kB / 1.039 GB, free: 11.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6667, allocations: 0 / 1.039 GB, free: 11.3 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6667, allocations: 4 kB / 1.039 GB, free: 11.3 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6668, allocations: 4 kB / 1.039 GB, free: 11.3 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.6682, allocations: 0.8248 MB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.6683, allocations: 0 / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.6684, allocations: 31.98 kB / 1.04 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/0.6689, allocations: 101.7 kB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.6689, allocations: 0 / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.6719, allocations: 2.81 MB / 1.043 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6719, allocations: 4.219 kB / 1.043 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008475/0.6727, allocations: 418.4 kB / 1.043 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.6729, allocations: 116.7 kB / 1.043 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.6729, allocations: 11.94 kB / 1.043 GB, free: 6.586 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.6731, allocations: 7.984 kB / 1.043 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.6732, allocations: 15.98 kB / 1.043 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.6732, allocations: 11.94 kB / 1.043 GB, free: 6.551 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001577/0.6734, allocations: 164.5 kB / 1.044 GB, free: 6.391 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.633e-06/0.6734, allocations: 4 kB / 1.044 GB, free: 6.387 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006963/0.6741, allocations: 175.3 kB / 1.044 GB, free: 6.215 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.6743, allocations: 95.25 kB / 1.044 GB, free: 6.113 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.6763, allocations: 0.7626 MB / 1.045 GB, free: 5.316 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6763, allocations: 0 / 1.045 GB, free: 5.316 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008138/0.6771, allocations: 357.8 kB / 1.045 GB, free: 4.941 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.6776, allocations: 60.48 kB / 1.045 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.6791, allocations: 0.768 MB / 1.046 GB, free: 4.078 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.6796, allocations: 0.8107 MB / 1.046 GB, free: 3.242 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.6797, allocations: 19.44 kB / 1.046 GB, free: 3.223 MB / 0.795 GB Notification: Performance of SimCode: time 8.11e-07/0.6797, allocations: 4 kB / 1.046 GB, free: 3.219 MB / 0.795 GB Notification: Performance of Templates: time 0.009526/0.6892, allocations: 6.14 MB / 1.052 GB, free: 13.09 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches