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.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.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.001365/0.001365, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 191.9 kB / 16.53 MB, free: 6.664 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.579/1.579, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.707/2.707, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 67.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7498/0.7512, allocations: 151.6 MB / 1.017 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007426/0.7587, allocations: 4.145 MB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004612/0.7633, allocations: 2.369 MB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.7637, allocations: 8 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.7653, allocations: 0.5408 MB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008125/0.7661, allocations: 282.7 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.7672, allocations: 347.1 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007306/0.7679, allocations: 0.5645 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006165/0.7685, allocations: 369.8 kB / 1.026 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.7688, allocations: 235.2 kB / 1.026 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004604/0.7693, allocations: 287 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.7694, allocations: 36 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.77, allocations: 283.5 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.7702, allocations: 171.6 kB / 1.027 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.7704, allocations: 219 kB / 1.027 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007696/0.7712, allocations: 0.6542 MB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.7712, allocations: 3.984 kB / 1.028 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.976e-06/0.7712, allocations: 3.938 kB / 1.028 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.7712, allocations: 0 / 1.028 GB, free: 8.109 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001352/0.7726, allocations: 0.7192 MB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.7726, allocations: 12.03 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.7739, allocations: 156.3 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.7744, allocations: 332.4 kB / 1.029 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.7744, allocations: 29.3 kB / 1.029 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.281e-05/0.7745, allocations: 36.38 kB / 1.029 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009713/0.7755, allocations: 0.6342 MB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.7755, allocations: 7.938 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.705e-05/0.7756, allocations: 19.98 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/0.7757, allocations: 40.58 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008089/0.7765, allocations: 494.1 kB / 1.03 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/0.7802, allocations: 3.424 MB / 1.033 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.7809, allocations: 376.9 kB / 1.034 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.7811, allocations: 181.6 kB / 1.034 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.7812, allocations: 7.984 kB / 1.034 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.7812, allocations: 34.56 kB / 1.034 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.043e-06/0.7812, allocations: 0 / 1.034 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.004677/0.7859, allocations: 1.461 MB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.786, allocations: 81.11 kB / 1.035 GB, free: 15.57 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.7865, allocations: 332.4 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.7865, allocations: 33.7 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.7867, allocations: 259.3 kB / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/0.7868, allocations: 90.66 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.787, allocations: 94.14 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.7871, allocations: 342.8 kB / 1.036 GB, free: 14.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.7874, allocations: 187 kB / 1.037 GB, free: 14.22 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.7879, allocations: 354 kB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006966/0.7886, allocations: 0.543 MB / 1.037 GB, free: 13.18 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7886, allocations: 0 / 1.037 GB, free: 13.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00234/0.7909, allocations: 0.9198 MB / 1.038 GB, free: 12.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.791, allocations: 8 kB / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.791, allocations: 4.438 kB / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/0.7932, allocations: 0.5009 MB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.7937, allocations: 103.8 kB / 1.039 GB, free: 11.63 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005913/0.7996, allocations: 4.063 MB / 1.043 GB, free: 7.285 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/0.8003, allocations: 51.8 kB / 1.043 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.8003, allocations: 20 kB / 1.043 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005138/0.8008, allocations: 305.2 kB / 1.043 GB, free: 6.914 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004066/0.8012, allocations: 339.8 kB / 1.044 GB, free: 6.504 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006413/0.8019, allocations: 0.5033 MB / 1.044 GB, free: 5.922 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.05e-06/0.8019, allocations: 4 kB / 1.044 GB, free: 5.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009031/0.8028, allocations: 0.5402 MB / 1.045 GB, free: 5.371 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.8028, allocations: 11.98 kB / 1.045 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8029, allocations: 4 kB / 1.045 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.8029, allocations: 11.94 kB / 1.045 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.8033, allocations: 115.8 kB / 1.045 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.8034, allocations: 15.92 kB / 1.045 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.8038, allocations: 35.91 kB / 1.045 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.8038, allocations: 24.22 kB / 1.045 GB, free: 5.156 MB / 0.795 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.0002177/0.8041, allocations: 205.2 kB / 1.045 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.8042, allocations: 31.62 kB / 1.045 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.8058, allocations: 0.6833 MB / 1.046 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.8059, allocations: 4 kB / 1.046 GB, free: 4.223 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8059, allocations: 0 / 1.046 GB, free: 4.223 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.8059, allocations: 3.984 kB / 1.046 GB, free: 4.219 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.8069, allocations: 0.6598 MB / 1.046 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.8069, allocations: 0 / 1.046 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.8071, allocations: 43.97 kB / 1.046 GB, free: 3.453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.8087, allocations: 401.3 kB / 1.047 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.8087, allocations: 11.94 kB / 1.047 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004266/0.813, allocations: 3.755 MB / 1.051 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.813, allocations: 0 / 1.051 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.8147, allocations: 0.8297 MB / 1.051 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.815, allocations: 140.6 kB / 1.051 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.8151, allocations: 11.98 kB / 1.051 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.8155, allocations: 35.94 kB / 1.051 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.8156, allocations: 27.97 kB / 1.052 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.8156, allocations: 16 kB / 1.052 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003205/0.8159, allocations: 231 kB / 1.052 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8159, allocations: 4 kB / 1.052 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001006/0.817, allocations: 192 kB / 1.052 GB, free: 13.48 MB / 0.8106 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.0001999/0.8172, allocations: 115.2 kB / 1.052 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.8191, allocations: 1.014 MB / 1.053 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8191, allocations: 3.938 kB / 1.053 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007677/0.8199, allocations: 482.5 kB / 1.054 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.8206, allocations: 76.89 kB / 1.054 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.822, allocations: 0.7587 MB / 1.054 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.8225, allocations: 0.8431 MB / 1.055 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000468/0.823, allocations: 139.2 kB / 1.055 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.862e-05/0.8231, allocations: 35.42 kB / 1.055 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of SimCode: time 1.152e-06/0.8231, allocations: 4 kB / 1.055 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of Templates: time 0.01432/0.8375, allocations: 7.35 MB / 1.062 GB, free: 2.59 MB / 0.8106 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 -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/jenkins/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