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.001106/0.001106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001209/0.001209, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.633 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 2.723/2.723, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 68.03 kB / 0.8685 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7016, allocations: 151.6 MB / 1.017 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005461/0.7071, allocations: 3.902 MB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.7098, allocations: 1.761 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.7101, allocations: 8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.7113, allocations: 422.5 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000522/0.7118, allocations: 239 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.7124, allocations: 231.6 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006999/0.7131, allocations: 0.6973 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.7135, allocations: 237 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.7137, allocations: 167.3 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003825/0.7141, allocations: 251.1 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.7142, allocations: 20 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.7146, allocations: 235.5 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.7147, allocations: 115.7 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.7149, allocations: 175.1 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000523/0.7154, allocations: 492.4 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7154, allocations: 0 / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.72e-07/0.7155, allocations: 0 / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.7155, allocations: 0 / 1.025 GB, free: 10 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.001142/0.7166, allocations: 0.6704 MB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.7167, allocations: 8.031 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005507/0.7172, allocations: 84.41 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.7176, allocations: 283.7 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.7176, allocations: 25.02 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.7177, allocations: 28.38 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007944/0.7185, allocations: 490 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.7185, allocations: 0 / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.7185, allocations: 19.98 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/0.7186, allocations: 36.62 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.7193, allocations: 366.2 kB / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.7213, allocations: 2.044 MB / 1.029 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.7219, allocations: 226.5 kB / 1.029 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/0.7223, allocations: 152.8 kB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.7224, allocations: 4 kB / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.7224, allocations: 38.56 kB / 1.03 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.7224, allocations: 0 / 1.03 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001099/0.7235, allocations: 425.5 kB / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.7235, allocations: 55.41 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.7238, allocations: 258.6 kB / 1.03 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.7239, allocations: 29.7 kB / 1.03 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.724, allocations: 211.7 kB / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.724, allocations: 67.03 kB / 1.031 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.57e-05/0.7241, allocations: 61.83 kB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7242, allocations: 342.8 kB / 1.031 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.7245, allocations: 93.91 kB / 1.031 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.7248, allocations: 207.6 kB / 1.031 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005476/0.7254, allocations: 313.3 kB / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7254, allocations: 0 / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007708/0.7262, allocations: 359.4 kB / 1.032 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.7262, allocations: 8 kB / 1.032 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7262, allocations: 4 kB / 1.032 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.7264, allocations: 32.83 kB / 1.032 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.7267, allocations: 63.91 kB / 1.032 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.7279, allocations: 1.337 MB / 1.033 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.7282, allocations: 51.66 kB / 1.033 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.7283, allocations: 12 kB / 1.033 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000354/0.7286, allocations: 212.6 kB / 1.034 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003026/0.7289, allocations: 217 kB / 1.034 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005432/0.7295, allocations: 315.1 kB / 1.034 GB, free: 192 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-06/0.7295, allocations: 0 / 1.034 GB, free: 192 kB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006882/0.7302, allocations: 337 kB / 1.034 GB, free: 15.85 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.7302, allocations: 8 kB / 1.034 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7302, allocations: 7.938 kB / 1.034 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.7302, allocations: 4 kB / 1.034 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.7305, allocations: 75.89 kB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7305, allocations: 4 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.7308, allocations: 44.12 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.7308, allocations: 12 kB / 1.035 GB, free: 15.7 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.0001319/0.7309, allocations: 204.1 kB / 1.035 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.731, allocations: 27.66 kB / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.7311, allocations: 38.11 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7311, allocations: 0 / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.7311, allocations: 4 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7311, allocations: 0 / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.7323, allocations: 0.7577 MB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.7323, allocations: 4.062 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.7325, allocations: 39.91 kB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.7326, allocations: 28.78 kB / 1.036 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.7327, allocations: 4 kB / 1.036 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009368/0.7336, allocations: 1.315 MB / 1.037 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.7336, allocations: 4.031 kB / 1.037 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.7342, allocations: 365.7 kB / 1.037 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.7344, allocations: 124.7 kB / 1.037 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.7344, allocations: 4 kB / 1.037 GB, free: 12.53 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.7346, allocations: 19.98 kB / 1.037 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.7347, allocations: 15.98 kB / 1.037 GB, free: 12.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.7347, allocations: 4 kB / 1.037 GB, free: 12.49 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001741/0.7349, allocations: 182 kB / 1.038 GB, free: 12.31 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7349, allocations: 0 / 1.038 GB, free: 12.31 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005852/0.7355, allocations: 139.6 kB / 1.038 GB, free: 12.18 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.0001379/0.7356, allocations: 119.1 kB / 1.038 GB, free: 12.05 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.7366, allocations: 485.1 kB / 1.038 GB, free: 11.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7367, allocations: 0 / 1.038 GB, free: 11.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.737, allocations: 222.4 kB / 1.039 GB, free: 11.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.7375, allocations: 72.05 kB / 1.039 GB, free: 11.27 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009662/0.7385, allocations: 0.6645 MB / 1.039 GB, free: 10.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.7389, allocations: 0.8074 MB / 1.04 GB, free: 9.734 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.7391, allocations: 82.12 kB / 1.04 GB, free: 9.656 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.7392, allocations: 19.44 kB / 1.04 GB, free: 9.637 MB / 0.795 GB Notification: Performance of SimCode: time 4.71e-07/0.7392, allocations: 0 / 1.04 GB, free: 9.637 MB / 0.795 GB Notification: Performance of Templates: time 0.006854/0.7461, allocations: 3.242 MB / 1.043 GB, free: 6.43 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=480 -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