Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001186/0.001186, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.00138/0.00138, allocations: 190.8 kB / 16.91 MB, free: 5.746 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.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.2 MB / 0.665 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 61.3 kB / 0.8127 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2517, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005442/0.2572, allocations: 3.903 MB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002666/0.2599, allocations: 1.749 MB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.2602, allocations: 12 kB / 0.9553 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.2614, allocations: 430.3 kB / 0.9557 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.2621, allocations: 231 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.2627, allocations: 227.6 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.2633, allocations: 0.4906 MB / 0.9566 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006197/0.2639, allocations: 401.1 kB / 0.957 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.2642, allocations: 203.2 kB / 0.9572 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.2646, allocations: 247.2 kB / 0.9574 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.2646, allocations: 28 kB / 0.9575 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.265, allocations: 187.6 kB / 0.9576 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.2651, allocations: 127.7 kB / 0.9578 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.2653, allocations: 175.1 kB / 0.9579 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.2658, allocations: 383.2 kB / 0.9583 GB, free: 492 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2658, allocations: 0 / 0.9583 GB, free: 492 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2658, allocations: 0 / 0.9583 GB, free: 492 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.2658, allocations: 0 / 0.9583 GB, free: 492 kB / 0.7325 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.001164/0.267, allocations: 0.6627 MB / 0.9589 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.267, allocations: 12.03 kB / 0.959 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005696/0.2676, allocations: 80.41 kB / 0.959 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.268, allocations: 287.6 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.268, allocations: 21.03 kB / 0.9593 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.2681, allocations: 40.28 kB / 0.9594 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008132/0.2689, allocations: 497.9 kB / 0.9598 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.2689, allocations: 0 / 0.9598 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.269, allocations: 16 kB / 0.9599 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.269, allocations: 40.62 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007265/0.2698, allocations: 362.2 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.2719, allocations: 2.044 MB / 0.9622 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.2724, allocations: 214.6 kB / 0.9624 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/0.2728, allocations: 156.8 kB / 0.9626 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.2729, allocations: 4 kB / 0.9626 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.2729, allocations: 34.56 kB / 0.9626 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.2729, allocations: 0 / 0.9626 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.00108/0.274, allocations: 429.5 kB / 0.963 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.274, allocations: 55.41 kB / 0.9631 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.2743, allocations: 262.6 kB / 0.9633 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.2743, allocations: 29.7 kB / 0.9634 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.2745, allocations: 207.8 kB / 0.9636 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.2745, allocations: 67.03 kB / 0.9636 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.2746, allocations: 61.89 kB / 0.9637 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2748, allocations: 334.8 kB / 0.964 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.275, allocations: 101.9 kB / 0.9641 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.2753, allocations: 199.6 kB / 0.9643 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.2759, allocations: 313.3 kB / 0.9646 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.2759, allocations: 4 kB / 0.9646 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007728/0.2767, allocations: 356.8 kB / 0.9649 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2767, allocations: 8.094 kB / 0.9649 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2767, allocations: 4 kB / 0.9649 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/0.2769, allocations: 36.78 kB / 0.965 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.2772, allocations: 63.89 kB / 0.965 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.2785, allocations: 1.445 MB / 0.9665 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.2788, allocations: 39.67 kB / 0.9665 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.2788, allocations: 15.94 kB / 0.9665 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003429/0.2791, allocations: 219.7 kB / 0.9667 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003056/0.2795, allocations: 217 kB / 0.9669 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005232/0.28, allocations: 318.9 kB / 0.9672 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.235e-06/0.28, allocations: 3.938 kB / 0.9672 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006648/0.2807, allocations: 336.8 kB / 0.9676 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2807, allocations: 7.984 kB / 0.9676 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2807, allocations: 4 kB / 0.9676 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-06/0.2807, allocations: 8.5 kB / 0.9676 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.281, allocations: 67.91 kB / 0.9676 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.281, allocations: 7.984 kB / 0.9676 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.2813, allocations: 35.73 kB / 0.9677 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.2813, allocations: 16 kB / 0.9677 GB, free: 6.062 MB / 0.7481 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.0001338/0.2814, allocations: 204 kB / 0.9679 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.2815, allocations: 23.72 kB / 0.9679 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/0.2816, allocations: 38.17 kB / 0.9679 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2816, allocations: 4 kB / 0.968 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2816, allocations: 4 kB / 0.968 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2816, allocations: 3.984 kB / 0.968 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.2828, allocations: 0.7421 MB / 0.9687 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2828, allocations: 0 / 0.9687 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.283, allocations: 43.91 kB / 0.9687 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/0.2831, allocations: 28.83 kB / 0.9688 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2831, allocations: 8.062 kB / 0.9688 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.2841, allocations: 1.418 MB / 0.9701 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2842, allocations: 0 / 0.9701 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.2848, allocations: 369.5 kB / 0.9705 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.2849, allocations: 120.7 kB / 0.9706 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.285, allocations: 8 kB / 0.9706 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.2852, allocations: 11.98 kB / 0.9706 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.2852, allocations: 15.98 kB / 0.9706 GB, free: 2.766 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.2852, allocations: 11.94 kB / 0.9707 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001707/0.2854, allocations: 186 kB / 0.9708 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2854, allocations: 0 / 0.9708 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005759/0.286, allocations: 143.5 kB / 0.971 GB, free: 2.43 MB / 0.7481 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.0001171/0.2861, allocations: 103.2 kB / 0.9711 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.2872, allocations: 0.5047 MB / 0.9716 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2872, allocations: 4.062 kB / 0.9716 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.2876, allocations: 214.6 kB / 0.9718 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.2881, allocations: 70.33 kB / 0.9718 GB, free: 1.516 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.2891, allocations: 0.7225 MB / 0.9725 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.2895, allocations: 0.8035 MB / 0.9733 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.2896, allocations: 27.44 kB / 0.9734 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of SimCode: time 3.41e-07/0.2896, allocations: 0 / 0.9734 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of Templates: time 0.007184/0.2968, allocations: 4.768 MB / 0.978 GB, free: 11.14 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches