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.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.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.001216/0.001216, allocations: 108.2 kB / 16.41 MB, free: 6.496 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.001354/0.001355, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.15 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.462/2.462, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 64.14 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9173, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006126/0.9235, allocations: 4.102 MB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.9266, allocations: 1.589 MB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.9269, allocations: 19.88 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.9288, allocations: 0.5887 MB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006658/0.9295, allocations: 234.9 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.9301, allocations: 217.3 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007525/0.9309, allocations: 0.5413 MB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007884/0.9317, allocations: 473.3 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003601/0.9321, allocations: 235.3 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.9326, allocations: 243.1 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.97e-05/0.9327, allocations: 40 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.933, allocations: 167.7 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.9332, allocations: 151.6 kB / 1.176 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.9334, allocations: 191.1 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007049/0.9341, allocations: 0.5263 MB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.9341, allocations: 4 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9342, allocations: 0 / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.9342, allocations: 0 / 1.176 GB, free: 10.58 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001376/0.9356, allocations: 0.688 MB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.9356, allocations: 8.031 kB / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000839/0.9365, allocations: 112.6 kB / 1.177 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.937, allocations: 311.7 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.9371, allocations: 55.2 kB / 1.177 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.9372, allocations: 36.36 kB / 1.178 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.9381, allocations: 0.5048 MB / 1.178 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.9381, allocations: 3.938 kB / 1.178 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.9381, allocations: 15.98 kB / 1.178 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.458e-05/0.9382, allocations: 28.98 kB / 1.178 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000785/0.939, allocations: 379.7 kB / 1.178 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.9416, allocations: 2.204 MB / 1.181 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.9424, allocations: 254.7 kB / 1.181 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.9427, allocations: 148.8 kB / 1.181 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.9428, allocations: 7.984 kB / 1.181 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.9428, allocations: 38.5 kB / 1.181 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 2.335e-06/0.9428, allocations: 0 / 1.181 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.001544/0.9444, allocations: 0.5713 MB / 1.182 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.9444, allocations: 55.41 kB / 1.182 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.9447, allocations: 228.9 kB / 1.182 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.9447, allocations: 37.69 kB / 1.182 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.9449, allocations: 204.2 kB / 1.182 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.9449, allocations: 75.42 kB / 1.182 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.945, allocations: 53.66 kB / 1.182 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9452, allocations: 334.8 kB / 1.182 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.9454, allocations: 96.8 kB / 1.183 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.9457, allocations: 183.1 kB / 1.183 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.9462, allocations: 279.8 kB / 1.183 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9462, allocations: 0 / 1.183 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008564/0.947, allocations: 377 kB / 1.183 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.9471, allocations: 8 kB / 1.183 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.9471, allocations: 4 kB / 1.183 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.9476, allocations: 105.8 kB / 1.184 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.9478, allocations: 55.91 kB / 1.184 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.9512, allocations: 3.059 MB / 1.187 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.9515, allocations: 31.83 kB / 1.187 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.9515, allocations: 8 kB / 1.187 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003588/0.9519, allocations: 220 kB / 1.187 GB, free: 15.04 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002716/0.9521, allocations: 195 kB / 1.187 GB, free: 14.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004644/0.9526, allocations: 265.2 kB / 1.187 GB, free: 14.51 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.9526, allocations: 4 kB / 1.187 GB, free: 14.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008004/0.9534, allocations: 348.4 kB / 1.188 GB, free: 14.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.9535, allocations: 11.94 kB / 1.188 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9535, allocations: 4 kB / 1.188 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.9538, allocations: 76.78 kB / 1.188 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.9541, allocations: 59.91 kB / 1.188 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.9561, allocations: 1.613 MB / 1.189 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.9564, allocations: 27.88 kB / 1.189 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.9564, allocations: 19.94 kB / 1.189 GB, free: 12.21 MB / 0.92 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.0001445/0.9566, allocations: 198.4 kB / 1.19 GB, free: 12.02 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.9566, allocations: 23.86 kB / 1.19 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.96e-05/0.9567, allocations: 26.19 kB / 1.19 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.9567, allocations: 7.938 kB / 1.19 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9567, allocations: 4 kB / 1.19 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.9568, allocations: 7.922 kB / 1.19 GB, free: 11.94 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.9581, allocations: 0.8174 MB / 1.19 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.9582, allocations: 3.984 kB / 1.19 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.9583, allocations: 31.92 kB / 1.19 GB, free: 11.01 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003779/0.9587, allocations: 109.7 kB / 1.191 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.9587, allocations: 0 / 1.191 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002966/0.9617, allocations: 3.024 MB / 1.193 GB, free: 7.594 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9617, allocations: 0 / 1.193 GB, free: 7.594 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.9626, allocations: 415.2 kB / 1.194 GB, free: 7.16 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.9628, allocations: 120.8 kB / 1.194 GB, free: 7.023 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.9628, allocations: 8 kB / 1.194 GB, free: 7.016 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.963, allocations: 11.98 kB / 1.194 GB, free: 7.004 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.9631, allocations: 27.88 kB / 1.194 GB, free: 6.977 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.9631, allocations: 8 kB / 1.194 GB, free: 6.969 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001511/0.9633, allocations: 164.5 kB / 1.194 GB, free: 6.809 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9633, allocations: 0 / 1.194 GB, free: 6.809 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006654/0.9639, allocations: 175.5 kB / 1.194 GB, free: 6.637 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 (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.0001369/0.9641, allocations: 103.1 kB / 1.194 GB, free: 6.527 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.966, allocations: 0.7643 MB / 1.195 GB, free: 5.727 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.966, allocations: 0 / 1.195 GB, free: 5.727 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007634/0.9668, allocations: 369.7 kB / 1.196 GB, free: 5.34 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.9672, allocations: 53.7 kB / 1.196 GB, free: 5.281 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.9683, allocations: 0.6259 MB / 1.196 GB, free: 4.617 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.9687, allocations: 0.8185 MB / 1.197 GB, free: 3.773 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.9688, allocations: 23.44 kB / 1.197 GB, free: 3.754 MB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.9688, allocations: 0 / 1.197 GB, free: 3.754 MB / 0.92 GB Notification: Performance of Templates: time 0.009062/0.9779, allocations: 6.185 MB / 1.203 GB, free: 13.59 MB / 0.9356 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