Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001351/0.001352, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001565/0.001565, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.741/2.741, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 8 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.834, allocations: 153.6 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004507/0.8385, allocations: 3.558 MB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003301/0.8418, allocations: 2.062 MB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.8422, allocations: 4 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.8425, allocations: 67.53 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009399/0.8435, allocations: 179.5 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.8446, allocations: 275.3 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006407/0.8453, allocations: 319.2 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.8468, allocations: 0.6047 MB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.8471, allocations: 163.4 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.8476, allocations: 179.3 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.8477, allocations: 20 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/0.8482, allocations: 143.8 kB / 1.028 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.8483, allocations: 143.7 kB / 1.028 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.8485, allocations: 93.52 kB / 1.028 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.8491, allocations: 492.6 kB / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8491, allocations: 0 / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.946e-06/0.8491, allocations: 0 / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.8491, allocations: 0 / 1.029 GB, free: 8.828 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.001163/0.8503, allocations: 0.6315 MB / 1.029 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.8503, allocations: 11.98 kB / 1.03 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.8514, allocations: 159.3 kB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.8519, allocations: 315.3 kB / 1.03 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.852, allocations: 28.98 kB / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/0.8521, allocations: 36 kB / 1.03 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009008/0.853, allocations: 0.6104 MB / 1.031 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.853, allocations: 7.938 kB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/0.8531, allocations: 16 kB / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.8532, allocations: 36.64 kB / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000702/0.8539, allocations: 478.1 kB / 1.031 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.8576, allocations: 3.432 MB / 1.034 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.8583, allocations: 368.9 kB / 1.035 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.8583, allocations: 11.98 kB / 1.035 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.8584, allocations: 38.55 kB / 1.035 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 3.767e-06/0.8584, allocations: 3.984 kB / 1.035 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.004803/0.8632, allocations: 1.456 MB / 1.036 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.8633, allocations: 85.11 kB / 1.036 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.8638, allocations: 332.2 kB / 1.037 GB, free: 280 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.8639, allocations: 29.7 kB / 1.037 GB, free: 244 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.8641, allocations: 255.5 kB / 1.037 GB, free: 15.98 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.8642, allocations: 94.64 kB / 1.037 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.8643, allocations: 12 kB / 1.037 GB, free: 15.88 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.8645, allocations: 338.8 kB / 1.037 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.8648, allocations: 173 kB / 1.038 GB, free: 15.36 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.8652, allocations: 343.7 kB / 1.038 GB, free: 14.96 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.8655, allocations: 223.9 kB / 1.038 GB, free: 14.74 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8655, allocations: 0 / 1.038 GB, free: 14.74 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002288/0.8678, allocations: 0.9121 MB / 1.039 GB, free: 13.82 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.001072/0.8689, allocations: 2.094 MB / 1.041 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.8689, allocations: 8 kB / 1.041 GB, free: 11.55 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.8712, allocations: 0.5009 MB / 1.042 GB, free: 11.05 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.8717, allocations: 95.88 kB / 1.042 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.8778, allocations: 3.861 MB / 1.045 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.8783, allocations: 43.8 kB / 1.045 GB, free: 6.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.8783, allocations: 16 kB / 1.045 GB, free: 6.762 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.8783, allocations: 5.719 kB / 1.045 GB, free: 6.758 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007557/0.8791, allocations: 479.2 kB / 1.046 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8791, allocations: 4 kB / 1.046 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.8791, allocations: 12 kB / 1.046 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.8796, allocations: 112.5 kB / 1.046 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.8796, allocations: 11.94 kB / 1.046 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.8798, allocations: 35.81 kB / 1.046 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.8799, allocations: 20 kB / 1.046 GB, free: 6.098 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003053/0.8802, allocations: 276.8 kB / 1.046 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.8803, allocations: 31.62 kB / 1.046 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.882, allocations: 0.6657 MB / 1.047 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.882, allocations: 4 kB / 1.047 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.882, allocations: 0 / 1.047 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.882, allocations: 8.266 kB / 1.047 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.883, allocations: 0.6558 MB / 1.048 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8831, allocations: 4.031 kB / 1.048 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.8833, allocations: 47.97 kB / 1.048 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.8849, allocations: 413.1 kB / 1.048 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.8849, allocations: 4 kB / 1.048 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003991/0.8889, allocations: 3.549 MB / 1.052 GB, free: 96 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8889, allocations: 8 kB / 1.052 GB, free: 88 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.8907, allocations: 0.8567 MB / 1.052 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.8909, allocations: 140.6 kB / 1.053 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.8909, allocations: 15.94 kB / 1.053 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.8913, allocations: 35.94 kB / 1.053 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.8914, allocations: 19.97 kB / 1.053 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.8914, allocations: 15.94 kB / 1.053 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002576/0.8917, allocations: 223.1 kB / 1.053 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8917, allocations: 7.938 kB / 1.053 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000877/0.8926, allocations: 192 kB / 1.053 GB, free: 14.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001701/0.8928, allocations: 107.2 kB / 1.053 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.8944, allocations: 0.9486 MB / 1.054 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8944, allocations: 0.625 kB / 1.054 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007471/0.8952, allocations: 485 kB / 1.055 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.8957, allocations: 73.73 kB / 1.055 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.8971, allocations: 0.9131 MB / 1.056 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.8975, allocations: 0.8586 MB / 1.056 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003995/0.898, allocations: 143.1 kB / 1.057 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/0.898, allocations: 27.44 kB / 1.057 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of SimCode: time 6.21e-07/0.8981, allocations: 0 / 1.057 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of Templates: time 0.0111/0.9092, allocations: 6.594 MB / 1.063 GB, free: 4.305 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches