Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001606/0.001606, allocations: 191 kB / 17.29 MB, free: 5.516 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.42 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2837, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005762/0.2895, allocations: 4.165 MB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003799/0.2933, allocations: 2.205 MB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.2936, allocations: 8 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.2952, allocations: 0.5379 MB / 1.026 GB, free: 2.898 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006933/0.2959, allocations: 270.7 kB / 1.026 GB, free: 2.633 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009274/0.2969, allocations: 355.2 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006239/0.2975, allocations: 0.5606 MB / 1.027 GB, free: 1.727 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005599/0.2981, allocations: 371.7 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.2984, allocations: 227.2 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.2988, allocations: 283 kB / 1.028 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.2989, allocations: 36 kB / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.2993, allocations: 259.5 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.2995, allocations: 175.6 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.2997, allocations: 219 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006906/0.3004, allocations: 0.6385 MB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3004, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3004, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.3005, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00114/0.3016, allocations: 0.7136 MB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3016, allocations: 8.031 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.3027, allocations: 136.3 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.3032, allocations: 328.4 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.3032, allocations: 33.36 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.969e-05/0.3033, allocations: 32.36 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008833/0.3042, allocations: 0.6264 MB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.3043, allocations: 7.938 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.3043, allocations: 12 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.153e-05/0.3044, allocations: 44.56 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/0.3051, allocations: 478.2 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.3084, allocations: 3.413 MB / 1.034 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006628/0.3091, allocations: 376.9 kB / 1.035 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.3093, allocations: 171.5 kB / 1.035 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.3093, allocations: 7.984 kB / 1.035 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3094, allocations: 42.5 kB / 1.035 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.963e-06/0.3094, allocations: 0 / 1.035 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.004595/0.314, allocations: 1.454 MB / 1.036 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3141, allocations: 85.11 kB / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.3144, allocations: 324.4 kB / 1.037 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3144, allocations: 29.7 kB / 1.037 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3146, allocations: 263.2 kB / 1.037 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.343e-05/0.3147, allocations: 94.67 kB / 1.037 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.3148, allocations: 94.14 kB / 1.037 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.315, allocations: 338.8 kB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.3152, allocations: 187 kB / 1.038 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.3156, allocations: 342 kB / 1.038 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.3163, allocations: 0.5401 MB / 1.039 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3163, allocations: 4 kB / 1.039 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002265/0.3185, allocations: 0.9047 MB / 1.04 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3186, allocations: 11.98 kB / 1.04 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.3186, allocations: 4.438 kB / 1.04 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002263/0.3209, allocations: 0.501 MB / 1.04 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.3213, allocations: 99.8 kB / 1.04 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.3269, allocations: 4.053 MB / 1.044 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.3273, allocations: 39.81 kB / 1.044 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.3274, allocations: 24 kB / 1.044 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003738/0.3277, allocations: 297.8 kB / 1.044 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003253/0.3281, allocations: 331.8 kB / 1.045 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005608/0.3286, allocations: 0.5028 MB / 1.045 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.878e-06/0.3287, allocations: 4 kB / 1.045 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007567/0.3294, allocations: 0.5243 MB / 1.046 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3294, allocations: 8 kB / 1.046 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3295, allocations: 12 kB / 1.046 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3295, allocations: 11.94 kB / 1.046 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.3299, allocations: 111.8 kB / 1.046 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.3299, allocations: 15.92 kB / 1.046 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.3302, allocations: 36.25 kB / 1.046 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.3303, allocations: 24 kB / 1.046 GB, free: 12.75 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * 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 {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.3304, allocations: 208.1 kB / 1.046 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.604e-05/0.3305, allocations: 31.62 kB / 1.046 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.3322, allocations: 0.6678 MB / 1.047 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3322, allocations: 11.94 kB / 1.047 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.3322, allocations: 0 / 1.047 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3322, allocations: 4 kB / 1.047 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009263/0.3332, allocations: 0.652 MB / 1.048 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3332, allocations: 0 / 1.048 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.3334, allocations: 47.95 kB / 1.048 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.3349, allocations: 405.2 kB / 1.048 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.335, allocations: 8 kB / 1.048 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00414/0.3391, allocations: 3.762 MB / 1.052 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3392, allocations: 0 / 1.052 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.3409, allocations: 0.83 MB / 1.052 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.3411, allocations: 140.7 kB / 1.053 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.3412, allocations: 8 kB / 1.053 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.3416, allocations: 35.94 kB / 1.053 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.3416, allocations: 27.91 kB / 1.053 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3417, allocations: 4 kB / 1.053 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002534/0.3419, allocations: 231 kB / 1.053 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3419, allocations: 4 kB / 1.053 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009473/0.3429, allocations: 192 kB / 1.053 GB, free: 5.09 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * 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 {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001975/0.3431, allocations: 107.2 kB / 1.053 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.3449, allocations: 0.976 MB / 1.054 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3449, allocations: 0 / 1.054 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007639/0.3457, allocations: 491.2 kB / 1.055 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.3463, allocations: 78.83 kB / 1.055 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3476, allocations: 0.7428 MB / 1.055 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.3481, allocations: 0.8431 MB / 1.056 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003684/0.3485, allocations: 139.1 kB / 1.056 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.3486, allocations: 31.42 kB / 1.056 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of SimCode: time 8.32e-07/0.3486, allocations: 0 / 1.056 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of Templates: time 0.01295/0.3615, allocations: 7.225 MB / 1.063 GB, free: 10.39 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches