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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001982/0.001982, allocations: 108.2 kB / 15.99 MB, free: 6.348 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.002313/0.002313, allocations: 191.7 kB / 16.91 MB, free: 6.184 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.478/1.478, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 482.4 MB / 0.755 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00288/0.00288, allocations: 68.62 kB / 0.924 GB, free: 352 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8973/0.9002, allocations: 162.2 MB / 1.082 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007216/0.9075, allocations: 4.199 MB / 1.087 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004892/0.9124, allocations: 2.346 MB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.9128, allocations: 5.406 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.9145, allocations: 0.5093 MB / 1.089 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009309/0.9155, allocations: 273.4 kB / 1.09 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.9167, allocations: 321.1 kB / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008969/0.9176, allocations: 0.5612 MB / 1.09 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008279/0.9184, allocations: 419.3 kB / 1.091 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.9189, allocations: 234.3 kB / 1.091 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.9195, allocations: 298.4 kB / 1.091 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.311e-05/0.9196, allocations: 35.16 kB / 1.091 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000741/0.9203, allocations: 281.4 kB / 1.092 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.9206, allocations: 181 kB / 1.092 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.9209, allocations: 214.7 kB / 1.092 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008609/0.9218, allocations: 0.511 MB / 1.093 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.9218, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9218, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.9218, allocations: 1.312 kB / 1.093 GB, free: 11.56 MB / 0.8419 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.001559/0.9234, allocations: 0.7231 MB / 1.093 GB, free: 11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.9234, allocations: 13.98 kB / 1.093 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.9248, allocations: 157.2 kB / 1.093 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.9253, allocations: 323.5 kB / 1.094 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.9254, allocations: 28.86 kB / 1.094 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.506e-05/0.9255, allocations: 39.83 kB / 1.094 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.9268, allocations: 0.6378 MB / 1.094 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.9269, allocations: 1.812 kB / 1.094 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/0.9269, allocations: 16.53 kB / 1.094 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.9271, allocations: 46.53 kB / 1.094 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.9281, allocations: 489.5 kB / 1.095 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004643/0.9328, allocations: 3.441 MB / 1.098 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/0.9337, allocations: 373.1 kB / 1.099 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.934, allocations: 177.7 kB / 1.099 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.9341, allocations: 6.531 kB / 1.099 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/0.9341, allocations: 37.48 kB / 1.099 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/0.9341, allocations: 0 / 1.099 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.005448/0.9396, allocations: 1.457 MB / 1.1 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.9397, allocations: 91.59 kB / 1.1 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.9403, allocations: 334 kB / 1.101 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.9404, allocations: 34.8 kB / 1.101 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.9406, allocations: 255.5 kB / 1.101 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.9407, allocations: 92.72 kB / 1.101 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.9409, allocations: 99.09 kB / 1.101 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.9411, allocations: 339.9 kB / 1.101 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.9415, allocations: 188.7 kB / 1.102 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.942, allocations: 348.9 kB / 1.102 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009092/0.943, allocations: 0.5496 MB / 1.102 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.943, allocations: 1.094 kB / 1.102 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002822/0.9458, allocations: 0.9126 MB / 1.103 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.9458, allocations: 7.719 kB / 1.103 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.9459, allocations: 13.69 kB / 1.103 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/0.9485, allocations: 0.4975 MB / 1.104 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.949, allocations: 99.84 kB / 1.104 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006966/0.956, allocations: 4.059 MB / 1.108 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/0.9567, allocations: 48.56 kB / 1.108 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.9568, allocations: 23.28 kB / 1.108 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006015/0.9574, allocations: 306.8 kB / 1.108 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005104/0.9579, allocations: 337 kB / 1.109 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008043/0.9587, allocations: 0.5067 MB / 1.109 GB, free: 428 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.9587, allocations: 1.375 kB / 1.109 GB, free: 428 kB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0011/0.9599, allocations: 0.5457 MB / 1.11 GB, free: 192 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.9599, allocations: 10.34 kB / 1.11 GB, free: 192 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.9599, allocations: 4.969 kB / 1.11 GB, free: 192 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.9599, allocations: 13.64 kB / 1.11 GB, free: 188 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.9604, allocations: 112 kB / 1.11 GB, free: 176 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.9604, allocations: 13.78 kB / 1.11 GB, free: 172 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.9609, allocations: 35.98 kB / 1.11 GB, free: 164 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.961, allocations: 26.7 kB / 1.11 GB, free: 156 kB / 0.8419 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.0002742/0.9612, allocations: 208.5 kB / 1.11 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.9614, allocations: 33.06 kB / 1.11 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.9634, allocations: 0.6699 MB / 1.111 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.9634, allocations: 3.312 kB / 1.111 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.9634, allocations: 5.438 kB / 1.111 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.9634, allocations: 5.156 kB / 1.111 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.9646, allocations: 0.6604 MB / 1.111 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.9646, allocations: 0 / 1.111 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.9648, allocations: 55.39 kB / 1.111 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.9665, allocations: 399.8 kB / 1.112 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.9666, allocations: 7.312 kB / 1.112 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005035/0.9716, allocations: 3.763 MB / 1.116 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.9716, allocations: 1.094 kB / 1.116 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.9737, allocations: 0.8247 MB / 1.116 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.974, allocations: 143.8 kB / 1.116 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.974, allocations: 11.12 kB / 1.116 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.9745, allocations: 43.27 kB / 1.117 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.9746, allocations: 29.67 kB / 1.117 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.9746, allocations: 11.33 kB / 1.117 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004052/0.975, allocations: 234.6 kB / 1.117 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/0.975, allocations: 0 / 1.117 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001137/0.9762, allocations: 195.8 kB / 1.117 GB, free: 11.39 MB / 0.8575 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.0002215/0.9764, allocations: 108.5 kB / 1.117 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002322/0.9787, allocations: 0.9996 MB / 1.118 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.9788, allocations: 4 kB / 1.118 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009598/0.9797, allocations: 492.2 kB / 1.119 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.9804, allocations: 75.19 kB / 1.119 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.9823, allocations: 0.9553 MB / 1.12 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.9829, allocations: 0.8506 MB / 1.12 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.9831, allocations: 31.81 kB / 1.12 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.9831, allocations: 0 / 1.12 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of Templates: time 0.01457/0.9976, allocations: 8.421 MB / 1.129 GB, free: 5.418 MB / 0.8575 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=400 -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches