Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001251/0.001251, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.001136/0.001137, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.16 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.249/2.249, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 59.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9472/0.9488, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005623/0.9545, allocations: 4.168 MB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004016/0.9585, allocations: 2.348 MB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.9588, allocations: 14.81 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.9604, allocations: 0.5268 MB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007977/0.9612, allocations: 303.4 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.9623, allocations: 343.2 kB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007262/0.963, allocations: 0.5693 MB / 1.097 GB, free: 264 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.9636, allocations: 361.8 kB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.964, allocations: 229.3 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.9645, allocations: 287.5 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.379e-05/0.9646, allocations: 35.16 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006733/0.9653, allocations: 285 kB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.9655, allocations: 176.2 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.9658, allocations: 215.8 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.9668, allocations: 0.6562 MB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9669, allocations: 0.9688 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9669, allocations: 4 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.9669, allocations: 0 / 1.099 GB, free: 15.39 MB / 0.8731 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.00134/0.9682, allocations: 0.7209 MB / 1.1 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.9683, allocations: 9.438 kB / 1.1 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.9696, allocations: 158.5 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/0.9701, allocations: 339.1 kB / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.9702, allocations: 23.75 kB / 1.1 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.9703, allocations: 35.91 kB / 1.1 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.9715, allocations: 0.6492 MB / 1.101 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.9715, allocations: 1.219 kB / 1.101 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.9716, allocations: 13.09 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.9717, allocations: 42.48 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009874/0.9727, allocations: 497.6 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/0.9768, allocations: 3.427 MB / 1.105 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/0.9777, allocations: 368.9 kB / 1.105 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.9779, allocations: 178.2 kB / 1.105 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.978, allocations: 2.906 kB / 1.105 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.978, allocations: 38.45 kB / 1.105 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/0.978, allocations: 0 / 1.105 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.005014/0.983, allocations: 1.456 MB / 1.107 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.9831, allocations: 84.34 kB / 1.107 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/0.9836, allocations: 333.5 kB / 1.107 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.9837, allocations: 30.89 kB / 1.107 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.9839, allocations: 266.7 kB / 1.107 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.984, allocations: 92.64 kB / 1.107 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.9842, allocations: 95.39 kB / 1.107 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9843, allocations: 340.2 kB / 1.108 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.9847, allocations: 191.9 kB / 1.108 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.9852, allocations: 353.5 kB / 1.108 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007947/0.986, allocations: 0.5406 MB / 1.109 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.986, allocations: 1.281 kB / 1.109 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002578/0.9886, allocations: 0.9136 MB / 1.11 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.9886, allocations: 10.34 kB / 1.11 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.9886, allocations: 5.438 kB / 1.11 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.9911, allocations: 0.509 MB / 1.11 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.9915, allocations: 92.53 kB / 1.11 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007014/0.9985, allocations: 4.058 MB / 1.114 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.9992, allocations: 48.86 kB / 1.114 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.9993, allocations: 23.5 kB / 1.114 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006418/0.9999, allocations: 306.9 kB / 1.115 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004968/1, allocations: 340.2 kB / 1.115 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007971/1.001, allocations: 0.503 MB / 1.115 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/1.001, allocations: 1.156 kB / 1.115 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001123/1.002, allocations: 0.5409 MB / 1.116 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.002, allocations: 11.78 kB / 1.116 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/1.002, allocations: 6.672 kB / 1.116 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.002, allocations: 12.16 kB / 1.116 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/1.003, allocations: 112.6 kB / 1.116 GB, free: 4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/1.003, allocations: 14.81 kB / 1.116 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/1.003, allocations: 46.02 kB / 1.116 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/1.003, allocations: 19 kB / 1.116 GB, free: 3.977 MB / 0.8731 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.0002343/1.004, allocations: 213 kB / 1.116 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/1.004, allocations: 32.88 kB / 1.116 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/1.006, allocations: 0.6739 MB / 1.117 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/1.006, allocations: 4 kB / 1.117 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/1.006, allocations: 4 kB / 1.117 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.006, allocations: 3.516 kB / 1.117 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/1.007, allocations: 0.6592 MB / 1.118 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.007, allocations: 1.25 kB / 1.118 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/1.007, allocations: 45.28 kB / 1.118 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/1.009, allocations: 401.1 kB / 1.118 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/1.009, allocations: 7.422 kB / 1.118 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004242/1.013, allocations: 3.758 MB / 1.122 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.013, allocations: 1.125 kB / 1.122 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/1.015, allocations: 0.8295 MB / 1.123 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/1.015, allocations: 144.5 kB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/1.015, allocations: 2.312 kB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/1.015, allocations: 38.09 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/1.015, allocations: 22.19 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/1.016, allocations: 11.69 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003201/1.016, allocations: 234.3 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.01e-07/1.016, allocations: 5.188 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009895/1.017, allocations: 194.4 kB / 1.123 GB, free: 15.23 MB / 0.8887 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.0001747/1.017, allocations: 111.9 kB / 1.123 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001791/1.019, allocations: 0.9871 MB / 1.124 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.019, allocations: 1.188 kB / 1.124 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007216/1.02, allocations: 488.6 kB / 1.125 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/1.02, allocations: 89.34 kB / 1.125 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/1.022, allocations: 0.7899 MB / 1.126 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/1.022, allocations: 0.8418 MB / 1.126 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/1.022, allocations: 36.34 kB / 1.127 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of SimCode: time 3.7e-07/1.022, allocations: 0 / 1.127 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of Templates: time 0.01496/1.037, allocations: 8.461 MB / 1.135 GB, free: 12.48 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches