Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.00157/0.00157, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001485/0.001485, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7954/0.7968, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005426/0.8023, allocations: 4.1 MB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002419/0.8047, allocations: 1.587 MB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.8049, allocations: 11.09 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.8065, allocations: 0.5833 MB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.807, allocations: 233.7 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.8076, allocations: 218.8 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000699/0.8083, allocations: 0.5466 MB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007661/0.809, allocations: 481 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.8094, allocations: 227.3 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.8098, allocations: 249.3 kB / 1.097 GB, free: 464 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.39e-05/0.8099, allocations: 40.31 kB / 1.097 GB, free: 460 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.8103, allocations: 157.9 kB / 1.097 GB, free: 416 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.8104, allocations: 156 kB / 1.097 GB, free: 348 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.8106, allocations: 195.9 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.8113, allocations: 0.5225 MB / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8113, allocations: 0 / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8114, allocations: 0 / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.8114, allocations: 1.75 kB / 1.098 GB, free: 44 kB / 0.8575 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.001279/0.8126, allocations: 0.6808 MB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.8127, allocations: 9.594 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007453/0.8134, allocations: 113.4 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.8139, allocations: 297.2 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.079e-05/0.814, allocations: 63.95 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.814, allocations: 30.5 kB / 1.099 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009281/0.815, allocations: 0.5038 MB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.815, allocations: 1.188 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.815, allocations: 15.03 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-05/0.8151, allocations: 32.77 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/0.8158, allocations: 387 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.8183, allocations: 2.193 MB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.819, allocations: 267.2 kB / 1.102 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.8194, allocations: 152.2 kB / 1.102 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.8195, allocations: 3.344 kB / 1.102 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.8195, allocations: 40.5 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.943e-06/0.8195, allocations: 1.156 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001529/0.8211, allocations: 0.5662 MB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.8211, allocations: 58.41 kB / 1.103 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.8214, allocations: 226.3 kB / 1.103 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.8214, allocations: 31.36 kB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.8216, allocations: 218.7 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.8216, allocations: 65.45 kB / 1.103 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.8217, allocations: 50.36 kB / 1.103 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8219, allocations: 334.2 kB / 1.104 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.8221, allocations: 97.58 kB / 1.104 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.8225, allocations: 183.8 kB / 1.104 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/0.823, allocations: 279.8 kB / 1.104 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.823, allocations: 0 / 1.104 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008648/0.8239, allocations: 379.5 kB / 1.105 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8239, allocations: 6.891 kB / 1.105 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.8239, allocations: 2.562 kB / 1.105 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/0.8244, allocations: 106.8 kB / 1.105 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.8246, allocations: 48.59 kB / 1.105 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.8279, allocations: 3.049 MB / 1.108 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.8282, allocations: 40 kB / 1.108 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.8283, allocations: 9.438 kB / 1.108 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003828/0.8286, allocations: 226.1 kB / 1.108 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002647/0.8289, allocations: 177.7 kB / 1.108 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004611/0.8294, allocations: 271.2 kB / 1.109 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.993e-06/0.8294, allocations: 2.031 kB / 1.109 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007796/0.8302, allocations: 344.6 kB / 1.109 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.8302, allocations: 10.5 kB / 1.109 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.8302, allocations: 3.188 kB / 1.109 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.8305, allocations: 78.89 kB / 1.109 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.8308, allocations: 61.28 kB / 1.109 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.8327, allocations: 1.603 MB / 1.111 GB, free: 6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.833, allocations: 35.48 kB / 1.111 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.833, allocations: 16.34 kB / 1.111 GB, free: 5.973 MB / 0.8731 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.0001402/0.8331, allocations: 201.9 kB / 1.111 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.8332, allocations: 23.95 kB / 1.111 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.8333, allocations: 29.22 kB / 1.111 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8333, allocations: 2.281 kB / 1.111 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8333, allocations: 1.609 kB / 1.111 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.8333, allocations: 4.781 kB / 1.111 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.8347, allocations: 0.8248 MB / 1.112 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.8347, allocations: 4.859 kB / 1.112 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.8349, allocations: 36.47 kB / 1.112 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003725/0.8352, allocations: 101.7 kB / 1.112 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.8353, allocations: 10.19 kB / 1.112 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/0.8381, allocations: 3.024 MB / 1.115 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8381, allocations: 1.094 kB / 1.115 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008175/0.839, allocations: 416.1 kB / 1.115 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.8391, allocations: 120.9 kB / 1.115 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.8392, allocations: 5.984 kB / 1.115 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.8393, allocations: 12.45 kB / 1.115 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.8394, allocations: 18.2 kB / 1.115 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.8394, allocations: 4.75 kB / 1.115 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001651/0.8396, allocations: 167.1 kB / 1.115 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.41e-07/0.8396, allocations: 0 / 1.115 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006959/0.8403, allocations: 165.5 kB / 1.116 GB, free: 1.715 MB / 0.8731 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.0001385/0.8405, allocations: 113.2 kB / 1.116 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.8425, allocations: 0.7572 MB / 1.116 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.8425, allocations: 1.25 kB / 1.116 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007897/0.8433, allocations: 372 kB / 1.117 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.8437, allocations: 64.22 kB / 1.117 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.8449, allocations: 0.625 MB / 1.117 GB, free: 496 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.8454, allocations: 0.8105 MB / 1.118 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.8455, allocations: 20.7 kB / 1.118 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of SimCode: time 3.1e-07/0.8455, allocations: 0 / 1.118 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of Templates: time 0.009604/0.8551, allocations: 6.182 MB / 1.124 GB, free: 15.29 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches