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.001689/0.001689, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001974/0.001974, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.477/1.477, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.621/2.621, allocations: 437.1 MB / 0.7111 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 63.88 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3033, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006402/0.3097, allocations: 4.106 MB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002806/0.3126, allocations: 1.593 MB / 1.024 GB, free: 4.867 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.3127, allocations: 8 kB / 1.024 GB, free: 4.859 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.3145, allocations: 0.5725 MB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005428/0.3151, allocations: 238.9 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.3157, allocations: 234.3 kB / 1.025 GB, free: 3.824 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000604/0.3163, allocations: 0.5413 MB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007499/0.317, allocations: 474 kB / 1.026 GB, free: 2.816 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.3173, allocations: 223.3 kB / 1.026 GB, free: 2.598 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/0.3178, allocations: 263 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.3179, allocations: 36 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.3182, allocations: 163.7 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.3184, allocations: 147.7 kB / 1.026 GB, free: 2 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.3186, allocations: 199.1 kB / 1.027 GB, free: 1.805 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.3192, allocations: 0.514 MB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3192, allocations: 0 / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3193, allocations: 0 / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3193, allocations: 0 / 1.027 GB, free: 1.289 MB / 0.795 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.001286/0.3206, allocations: 0.6749 MB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3206, allocations: 16.02 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007718/0.3214, allocations: 104.4 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.3218, allocations: 303.6 kB / 1.028 GB, free: 112 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-05/0.3219, allocations: 59.2 kB / 1.028 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.322, allocations: 32.36 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/0.3229, allocations: 0.497 MB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.3229, allocations: 7.938 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.3229, allocations: 15.98 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/0.323, allocations: 32.97 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/0.3238, allocations: 383.7 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.3265, allocations: 2.2 MB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.3272, allocations: 254.7 kB / 1.031 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.3276, allocations: 156.8 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.3277, allocations: 7.953 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3277, allocations: 34.5 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.3277, allocations: 0 / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.001618/0.3293, allocations: 0.5728 MB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3294, allocations: 55.41 kB / 1.032 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.3297, allocations: 228.9 kB / 1.032 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.3297, allocations: 33.7 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3298, allocations: 199.7 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.3299, allocations: 78.98 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.33, allocations: 49.7 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3302, allocations: 326.8 kB / 1.033 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.3304, allocations: 100.8 kB / 1.033 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.3307, allocations: 184.6 kB / 1.033 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.3313, allocations: 275.2 kB / 1.034 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3313, allocations: 0 / 1.034 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009404/0.3322, allocations: 380.5 kB / 1.034 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3322, allocations: 10.44 kB / 1.034 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.3323, allocations: 4.312 kB / 1.034 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005271/0.3328, allocations: 113.6 kB / 1.034 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.333, allocations: 51.91 kB / 1.034 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/0.3368, allocations: 3.055 MB / 1.037 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.3371, allocations: 31.92 kB / 1.037 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3371, allocations: 8 kB / 1.037 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004006/0.3375, allocations: 216.7 kB / 1.037 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003022/0.3378, allocations: 187.5 kB / 1.038 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005171/0.3384, allocations: 271.2 kB / 1.038 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.3384, allocations: 0 / 1.038 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008732/0.3392, allocations: 349.9 kB / 1.038 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3393, allocations: 7.938 kB / 1.038 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3393, allocations: 4 kB / 1.038 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003377/0.3396, allocations: 77.09 kB / 1.038 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.3399, allocations: 63.91 kB / 1.038 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.3421, allocations: 1.613 MB / 1.04 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.3425, allocations: 27.83 kB / 1.04 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.3425, allocations: 11.94 kB / 1.04 GB, free: 2.957 MB / 0.8106 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.0001657/0.3427, allocations: 196.2 kB / 1.04 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.3427, allocations: 23.72 kB / 1.04 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.3428, allocations: 30.17 kB / 1.04 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3428, allocations: 4 kB / 1.04 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3428, allocations: 8 kB / 1.04 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3428, allocations: 3.938 kB / 1.04 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.3443, allocations: 0.8248 MB / 1.041 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3443, allocations: 0 / 1.041 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.3445, allocations: 31.92 kB / 1.041 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.3449, allocations: 105.7 kB / 1.041 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.345, allocations: 0 / 1.041 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003326/0.3483, allocations: 3.028 MB / 1.044 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3483, allocations: 0 / 1.044 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008778/0.3492, allocations: 414.5 kB / 1.045 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.3494, allocations: 128.7 kB / 1.045 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.3494, allocations: 7.938 kB / 1.045 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.3496, allocations: 8 kB / 1.045 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.3497, allocations: 19.97 kB / 1.045 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.3497, allocations: 12 kB / 1.045 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000174/0.3499, allocations: 160.5 kB / 1.045 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3499, allocations: 0 / 1.045 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000695/0.3506, allocations: 171.4 kB / 1.045 GB, free: 13.39 MB / 0.8262 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.00013/0.3507, allocations: 107.2 kB / 1.045 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002089/0.3528, allocations: 0.774 MB / 1.046 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3528, allocations: 4.062 kB / 1.046 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008632/0.3537, allocations: 369.2 kB / 1.046 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.3542, allocations: 74.8 kB / 1.046 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3553, allocations: 0.616 MB / 1.047 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.3558, allocations: 0.8186 MB / 1.048 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.3558, allocations: 19.44 kB / 1.048 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3558, allocations: 0 / 1.048 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.00909/0.3649, allocations: 6.15 MB / 1.054 GB, free: 4.344 MB / 0.8262 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=400 -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