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.001613/0.001612, allocations: 106.6 kB / 16.27 MB, free: 6.414 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.001809/0.001809, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.654/2.654, allocations: 437.1 MB / 0.7111 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 61.47 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2996, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006073/0.3057, allocations: 3.87 MB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.3088, allocations: 1.773 MB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.309, allocations: 11.94 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.3103, allocations: 451.2 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005228/0.3108, allocations: 246.8 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.3114, allocations: 255.3 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005602/0.312, allocations: 0.4906 MB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005926/0.3126, allocations: 365 kB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.3129, allocations: 191.4 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.3132, allocations: 243.1 kB / 1.026 GB, free: 2.77 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.47e-05/0.3133, allocations: 28 kB / 1.026 GB, free: 2.742 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.3137, allocations: 183.6 kB / 1.026 GB, free: 2.562 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3138, allocations: 135.6 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.314, allocations: 183.1 kB / 1.026 GB, free: 2.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005662/0.3146, allocations: 490.5 kB / 1.027 GB, free: 1.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3146, allocations: 0 / 1.027 GB, free: 1.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3146, allocations: 0 / 1.027 GB, free: 1.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3146, allocations: 0 / 1.027 GB, free: 1.77 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001154/0.3158, allocations: 0.6588 MB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3158, allocations: 8.922 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005503/0.3164, allocations: 84.41 kB / 1.027 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.3168, allocations: 291.6 kB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3168, allocations: 21.03 kB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.3169, allocations: 36.36 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008332/0.3177, allocations: 486 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3177, allocations: 0 / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.3178, allocations: 16 kB / 1.028 GB, free: 76 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.299e-05/0.3178, allocations: 36.64 kB / 1.028 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007982/0.3187, allocations: 366.2 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.321, allocations: 2.044 MB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.3216, allocations: 214.7 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.322, allocations: 152.8 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.322, allocations: 7.984 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3221, allocations: 34.56 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.3221, allocations: 0 / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.001119/0.3232, allocations: 419 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.3233, allocations: 59.41 kB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3236, allocations: 266.5 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.3236, allocations: 25.7 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.3238, allocations: 211.7 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.3238, allocations: 63.12 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.3239, allocations: 61.89 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3241, allocations: 338.8 kB / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.3243, allocations: 97.91 kB / 1.032 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.3247, allocations: 214.7 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.3253, allocations: 309.4 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3253, allocations: 3.938 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007705/0.3261, allocations: 362.1 kB / 1.033 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3261, allocations: 10.34 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3261, allocations: 8 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.3263, allocations: 32.83 kB / 1.033 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.3266, allocations: 67.89 kB / 1.033 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.3282, allocations: 1.437 MB / 1.035 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.3285, allocations: 39.67 kB / 1.035 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.3286, allocations: 15.98 kB / 1.035 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003742/0.3289, allocations: 212.6 kB / 1.035 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003671/0.3293, allocations: 221 kB / 1.035 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005889/0.3299, allocations: 315.1 kB / 1.036 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.3299, allocations: 0 / 1.036 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007108/0.3306, allocations: 336.8 kB / 1.036 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3307, allocations: 8 kB / 1.036 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3307, allocations: 4 kB / 1.036 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.3307, allocations: 4.5 kB / 1.036 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.331, allocations: 75.89 kB / 1.036 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.331, allocations: 4 kB / 1.036 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.3312, allocations: 39.72 kB / 1.036 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.3313, allocations: 16 kB / 1.036 GB, free: 7.363 MB / 0.8106 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.0001404/0.3314, allocations: 205.1 kB / 1.036 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.3315, allocations: 23.77 kB / 1.036 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.64e-05/0.3316, allocations: 42.16 kB / 1.036 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3316, allocations: 0 / 1.036 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.3316, allocations: 0 / 1.036 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3316, allocations: 4 kB / 1.036 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3328, allocations: 0.746 MB / 1.037 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3329, allocations: 0 / 1.037 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.333, allocations: 43.84 kB / 1.037 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.3332, allocations: 24.84 kB / 1.037 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.3332, allocations: 16.06 kB / 1.037 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.3344, allocations: 1.418 MB / 1.038 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3344, allocations: 32 / 1.038 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.3351, allocations: 371.4 kB / 1.039 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3353, allocations: 116.8 kB / 1.039 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3353, allocations: 11.94 kB / 1.039 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.3355, allocations: 11.98 kB / 1.039 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.3356, allocations: 15.97 kB / 1.039 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3356, allocations: 15.94 kB / 1.039 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001843/0.3358, allocations: 186 kB / 1.039 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3358, allocations: 0 / 1.039 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000589/0.3364, allocations: 139.5 kB / 1.039 GB, free: 3.727 MB / 0.8106 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.0001294/0.3365, allocations: 107.2 kB / 1.039 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.3377, allocations: 0.4983 MB / 1.04 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3377, allocations: 4.062 kB / 1.04 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.3381, allocations: 218.6 kB / 1.04 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.3386, allocations: 70.03 kB / 1.04 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.3396, allocations: 0.5897 MB / 1.041 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.3401, allocations: 0.7996 MB / 1.042 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.3402, allocations: 27.44 kB / 1.042 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3402, allocations: 0 / 1.042 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.007571/0.3478, allocations: 4.785 MB / 1.046 GB, free: 12.56 MB / 0.8262 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/jenkins1/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