Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001734/0.001734, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001853/0.001854, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.578/2.578, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 59.75 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3142, allocations: 159.2 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006187/0.3204, allocations: 4.127 MB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.323, allocations: 1.586 MB / 1.07 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.3232, allocations: 7.938 kB / 1.07 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.3247, allocations: 0.5604 MB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004867/0.3252, allocations: 215.1 kB / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.3257, allocations: 191.7 kB / 1.071 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000594/0.3263, allocations: 0.5413 MB / 1.071 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007773/0.3271, allocations: 0.5137 MB / 1.072 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.3274, allocations: 227.3 kB / 1.072 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.3278, allocations: 267 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.3279, allocations: 36 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.3282, allocations: 167.7 kB / 1.072 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.3283, allocations: 147.7 kB / 1.072 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.3285, allocations: 199.1 kB / 1.073 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.329, allocations: 415.1 kB / 1.073 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.329, allocations: 3.984 kB / 1.073 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.193e-06/0.329, allocations: 0 / 1.073 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.329, allocations: 0 / 1.073 GB, free: 5.957 MB / 0.8419 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.001209/0.3303, allocations: 0.6787 MB / 1.074 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3303, allocations: 12.62 kB / 1.074 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006919/0.331, allocations: 104.4 kB / 1.074 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.3314, allocations: 303.6 kB / 1.074 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.571e-05/0.3315, allocations: 55.2 kB / 1.074 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.3316, allocations: 32.38 kB / 1.074 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008686/0.3325, allocations: 0.5048 MB / 1.075 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3325, allocations: 4 kB / 1.075 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.3325, allocations: 8 kB / 1.075 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-05/0.3326, allocations: 36.97 kB / 1.075 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007147/0.3333, allocations: 379.7 kB / 1.075 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.3359, allocations: 2.208 MB / 1.077 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007165/0.3366, allocations: 262.6 kB / 1.078 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.337, allocations: 152.7 kB / 1.078 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.3371, allocations: 11.98 kB / 1.078 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3371, allocations: 30.56 kB / 1.078 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 1.903e-06/0.3371, allocations: 0 / 1.078 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.001524/0.3386, allocations: 0.5688 MB / 1.078 GB, free: 224 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3387, allocations: 55.41 kB / 1.078 GB, free: 156 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4373/0.776, allocations: 222.2 kB / 1.079 GB, free: 22.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/0.7761, allocations: 32.11 kB / 1.079 GB, free: 22.85 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.7763, allocations: 209.6 kB / 1.079 GB, free: 22.76 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.7763, allocations: 64.2 kB / 1.079 GB, free: 22.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.7764, allocations: 50.86 kB / 1.079 GB, free: 22.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.7765, allocations: 330.1 kB / 1.079 GB, free: 22.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.7768, allocations: 96.31 kB / 1.079 GB, free: 22.38 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.7771, allocations: 184.3 kB / 1.079 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.7776, allocations: 284.6 kB / 1.08 GB, free: 22.19 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.7776, allocations: 1.156 kB / 1.08 GB, free: 22.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009563/0.7785, allocations: 379.2 kB / 1.08 GB, free: 22.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.7786, allocations: 6.875 kB / 1.08 GB, free: 22.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7786, allocations: 2.797 kB / 1.08 GB, free: 22.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/0.7792, allocations: 116.3 kB / 1.08 GB, free: 22.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.7794, allocations: 50.08 kB / 1.08 GB, free: 22.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.7822, allocations: 3.041 MB / 1.083 GB, free: 19.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.7825, allocations: 36.25 kB / 1.083 GB, free: 19.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.7825, allocations: 12.44 kB / 1.083 GB, free: 19.35 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003275/0.7829, allocations: 225.4 kB / 1.084 GB, free: 19.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002416/0.7831, allocations: 180.3 kB / 1.084 GB, free: 19.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004302/0.7836, allocations: 279.6 kB / 1.084 GB, free: 18.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.7836, allocations: 2.266 kB / 1.084 GB, free: 18.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007494/0.7843, allocations: 347.4 kB / 1.084 GB, free: 18.78 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.7844, allocations: 5.906 kB / 1.084 GB, free: 18.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7844, allocations: 2.844 kB / 1.084 GB, free: 18.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.7847, allocations: 86.41 kB / 1.084 GB, free: 18.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.7849, allocations: 52 kB / 1.084 GB, free: 18.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.7866, allocations: 1.617 MB / 1.086 GB, free: 17.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.7868, allocations: 27.62 kB / 1.086 GB, free: 17.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.7869, allocations: 7.844 kB / 1.086 GB, free: 17.27 MB / 0.8419 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.0001078/0.787, allocations: 203.9 kB / 1.086 GB, free: 17.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.787, allocations: 22.64 kB / 1.086 GB, free: 17.05 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.7871, allocations: 30.28 kB / 1.086 GB, free: 17.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.7871, allocations: 2.859 kB / 1.086 GB, free: 17.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7871, allocations: 1.062 kB / 1.086 GB, free: 17.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.7871, allocations: 0.75 kB / 1.086 GB, free: 17.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.7885, allocations: 0.8342 MB / 1.087 GB, free: 16.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.7885, allocations: 3.938 kB / 1.087 GB, free: 16.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.7886, allocations: 29.45 kB / 1.087 GB, free: 16.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003826/0.789, allocations: 105.4 kB / 1.087 GB, free: 16.44 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.7891, allocations: 6.312 kB / 1.087 GB, free: 16.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.7914, allocations: 3.025 MB / 1.09 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7914, allocations: 0 / 1.09 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.7921, allocations: 417 kB / 1.091 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.7922, allocations: 116.9 kB / 1.091 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.7922, allocations: 1.781 kB / 1.091 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.7924, allocations: 13.5 kB / 1.091 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.7925, allocations: 34.69 kB / 1.091 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.7925, allocations: 4.531 kB / 1.091 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001466/0.7927, allocations: 162.2 kB / 1.091 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7927, allocations: 0.625 kB / 1.091 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006806/0.7934, allocations: 172.6 kB / 1.091 GB, free: 13.02 MB / 0.8419 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.0001098/0.7935, allocations: 104.1 kB / 1.091 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001867/0.7954, allocations: 0.7812 MB / 1.092 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7954, allocations: 0.5938 kB / 1.092 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.7961, allocations: 373.1 kB / 1.092 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.7966, allocations: 50.27 kB / 1.092 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.7976, allocations: 0.7699 MB / 1.093 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.7979, allocations: 0.8138 MB / 1.094 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.798, allocations: 21.75 kB / 1.094 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.798, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.01133/0.8094, allocations: 6.162 MB / 1.1 GB, free: 10.51 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches