Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.003055/0.003056, allocations: 193.4 kB / 16.13 MB, free: 6.688 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.608/1.608, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.011/3.011, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 75.81 kB / 0.8686 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8561, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006178/0.8624, allocations: 3.91 MB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003075/0.8655, allocations: 1.769 MB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.8658, allocations: 11.94 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.8671, allocations: 414.7 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000637/0.8677, allocations: 227 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.8684, allocations: 237.7 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007858/0.8692, allocations: 0.6973 MB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.8696, allocations: 241 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.8698, allocations: 171.3 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.8702, allocations: 243.1 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.8703, allocations: 20 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.8707, allocations: 231.5 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.8708, allocations: 119.6 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.871, allocations: 171.1 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006013/0.8717, allocations: 0.4925 MB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8717, allocations: 0 / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8717, allocations: 0 / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.8717, allocations: 0 / 1.025 GB, free: 9.906 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001203/0.8729, allocations: 0.6588 MB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.8729, allocations: 12.03 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005562/0.8735, allocations: 88.41 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.8739, allocations: 287.7 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.8739, allocations: 21.03 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.874, allocations: 36.34 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008805/0.8749, allocations: 494 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.8749, allocations: 3.938 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.875, allocations: 12 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-05/0.875, allocations: 36.64 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008185/0.8759, allocations: 366.3 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.8783, allocations: 2.052 MB / 1.029 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.8789, allocations: 210.7 kB / 1.029 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/0.8793, allocations: 159.6 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.8794, allocations: 4 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.8794, allocations: 34.5 kB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.8794, allocations: 0 / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001201/0.8806, allocations: 415.1 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.8807, allocations: 59.41 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.881, allocations: 262.6 kB / 1.03 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.881, allocations: 29.7 kB / 1.03 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.8812, allocations: 211.7 kB / 1.031 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.8813, allocations: 63.09 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.8814, allocations: 61.89 kB / 1.031 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.8816, allocations: 334.8 kB / 1.031 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.8818, allocations: 101.8 kB / 1.031 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.8822, allocations: 207.6 kB / 1.031 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006206/0.8828, allocations: 314.6 kB / 1.032 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.8829, allocations: 0 / 1.032 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008348/0.8837, allocations: 359.2 kB / 1.032 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.8837, allocations: 8 kB / 1.032 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.8837, allocations: 4 kB / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.884, allocations: 37.14 kB / 1.032 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.8843, allocations: 67.89 kB / 1.032 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.8859, allocations: 1.343 MB / 1.033 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.8862, allocations: 39.67 kB / 1.033 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.8862, allocations: 12 kB / 1.033 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003962/0.8866, allocations: 220.7 kB / 1.034 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004022/0.887, allocations: 211.1 kB / 1.034 GB, free: 464 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006511/0.8877, allocations: 324.4 kB / 1.034 GB, free: 84 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.8877, allocations: 0 / 1.034 GB, free: 84 kB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007189/0.8884, allocations: 336 kB / 1.034 GB, free: 15.75 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.8884, allocations: 8 kB / 1.034 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8884, allocations: 8.438 kB / 1.034 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.233e-06/0.8885, allocations: 11.98 kB / 1.034 GB, free: 15.72 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.8887, allocations: 67.91 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.8888, allocations: 11.92 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.889, allocations: 39.73 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.8891, allocations: 12 kB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.8892, allocations: 200.9 kB / 1.035 GB, free: 15.39 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.8893, allocations: 31.66 kB / 1.035 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/0.8894, allocations: 34.17 kB / 1.035 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.8894, allocations: 0 / 1.035 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.8894, allocations: 0 / 1.035 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.8894, allocations: 4 kB / 1.035 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.8907, allocations: 0.7551 MB / 1.036 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.8907, allocations: 0 / 1.036 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.8909, allocations: 39.91 kB / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.891, allocations: 32.89 kB / 1.036 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.8911, allocations: 11.94 kB / 1.036 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.8923, allocations: 1.312 MB / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.8923, allocations: 4.031 kB / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.893, allocations: 365.6 kB / 1.037 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.8931, allocations: 120.7 kB / 1.037 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.8932, allocations: 8 kB / 1.037 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.8934, allocations: 19.92 kB / 1.037 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.8935, allocations: 15.97 kB / 1.037 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.8935, allocations: 8 kB / 1.037 GB, free: 12.39 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000197/0.8937, allocations: 189.9 kB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8937, allocations: 4 kB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007181/0.8944, allocations: 139.6 kB / 1.038 GB, free: 12.06 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.8946, allocations: 103.2 kB / 1.038 GB, free: 11.95 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.8958, allocations: 489.1 kB / 1.038 GB, free: 11.46 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8959, allocations: 0 / 1.038 GB, free: 11.46 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.8963, allocations: 222.7 kB / 1.039 GB, free: 11.23 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.8968, allocations: 65.28 kB / 1.039 GB, free: 11.17 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.8979, allocations: 0.6762 MB / 1.039 GB, free: 10.46 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.8984, allocations: 0.8035 MB / 1.04 GB, free: 9.629 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002346/0.8987, allocations: 62.23 kB / 1.04 GB, free: 9.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.8987, allocations: 19.44 kB / 1.04 GB, free: 9.551 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.8987, allocations: 0 / 1.04 GB, free: 9.551 MB / 0.795 GB Notification: Performance of Templates: time 0.008683/0.9074, allocations: 3.244 MB / 1.043 GB, free: 6.34 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches