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.001132/0.001132, allocations: 111.4 kB / 16.41 MB, free: 6.465 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.001077/0.001077, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.415/1.415, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.699/2.699, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9659/0.9674, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007445/0.9749, allocations: 4.162 MB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0046/0.9795, allocations: 2.368 MB / 1.233 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/0.98, allocations: 8 kB / 1.233 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.9818, allocations: 0.5369 MB / 1.233 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008944/0.9827, allocations: 306.6 kB / 1.234 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.9838, allocations: 343.2 kB / 1.234 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006987/0.9845, allocations: 0.5607 MB / 1.234 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005424/0.985, allocations: 367.3 kB / 1.235 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.9853, allocations: 235.2 kB / 1.235 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.9858, allocations: 283 kB / 1.235 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.594e-05/0.9859, allocations: 36 kB / 1.235 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006079/0.9865, allocations: 287.5 kB / 1.236 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.9868, allocations: 167.6 kB / 1.236 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.987, allocations: 219 kB / 1.236 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.9881, allocations: 0.6664 MB / 1.237 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9881, allocations: 0 / 1.237 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9881, allocations: 0 / 1.237 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.251e-05/0.9881, allocations: 0 / 1.237 GB, free: 2.98 MB / 0.9512 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.001483/0.9896, allocations: 0.7384 MB / 1.237 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.9897, allocations: 12.03 kB / 1.237 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.9909, allocations: 156.5 kB / 1.237 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.9914, allocations: 336.6 kB / 1.238 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.9915, allocations: 33.36 kB / 1.238 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.9916, allocations: 32.38 kB / 1.238 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009741/0.9926, allocations: 0.6342 MB / 1.238 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.9926, allocations: 3.938 kB / 1.238 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.9927, allocations: 19.98 kB / 1.238 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.98e-05/0.9928, allocations: 48.62 kB / 1.239 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.9935, allocations: 488.9 kB / 1.239 GB, free: 368 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.9971, allocations: 3.429 MB / 1.242 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.9978, allocations: 376.9 kB / 1.243 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.998, allocations: 173.6 kB / 1.243 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.9981, allocations: 4 kB / 1.243 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.9981, allocations: 42.5 kB / 1.243 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.9981, allocations: 0 / 1.243 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.004569/1.003, allocations: 1.466 MB / 1.244 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/1.003, allocations: 81.09 kB / 1.244 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/1.003, allocations: 332.4 kB / 1.245 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/1.003, allocations: 29.7 kB / 1.245 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/1.003, allocations: 272 kB / 1.245 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.522e-05/1.003, allocations: 99.17 kB / 1.245 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.004, allocations: 94.19 kB / 1.245 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.004, allocations: 342.8 kB / 1.246 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/1.004, allocations: 191 kB / 1.246 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/1.004, allocations: 349.9 kB / 1.246 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/1.005, allocations: 0.5436 MB / 1.247 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.005, allocations: 0 / 1.247 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002331/1.008, allocations: 0.9239 MB / 1.247 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.008, allocations: 8 kB / 1.248 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.008, allocations: 4 kB / 1.248 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/1.01, allocations: 0.5013 MB / 1.248 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/1.01, allocations: 103.8 kB / 1.248 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005615/1.016, allocations: 4.051 MB / 1.252 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/1.016, allocations: 51.91 kB / 1.252 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/1.017, allocations: 23.94 kB / 1.252 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004672/1.017, allocations: 305.1 kB / 1.252 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004079/1.017, allocations: 339.8 kB / 1.253 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006459/1.018, allocations: 0.5096 MB / 1.253 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/1.018, allocations: 3.984 kB / 1.253 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008999/1.019, allocations: 0.536 MB / 1.254 GB, free: 200 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.019, allocations: 8 kB / 1.254 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.019, allocations: 4 kB / 1.254 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/1.019, allocations: 16.58 kB / 1.254 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/1.019, allocations: 115.8 kB / 1.254 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/1.02, allocations: 15.92 kB / 1.254 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/1.02, allocations: 43.91 kB / 1.254 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/1.02, allocations: 24 kB / 1.254 GB, free: 15.97 MB / 0.9825 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.000173/1.02, allocations: 208.1 kB / 1.254 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.602e-05/1.02, allocations: 31.81 kB / 1.254 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/1.022, allocations: 0.6657 MB / 1.255 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.022, allocations: 3.938 kB / 1.255 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.022, allocations: 0 / 1.255 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/1.022, allocations: 148.8 kB / 1.255 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/1.022, allocations: 11.94 kB / 1.255 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/1.023, allocations: 35.94 kB / 1.255 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/1.023, allocations: 27.95 kB / 1.255 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001223/1.024, allocations: 0.6721 MB / 1.256 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007732/1.025, allocations: 0.7337 MB / 1.256 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002148/1.025, allocations: 147.9 kB / 1.257 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002891/1.025, allocations: 235 kB / 1.257 GB, free: 13 MB / 0.9825 GB Notification: Performance of Backend: time 6.41e-07/1.026, allocations: 0 / 1.257 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00232/1.028, allocations: 1.073 MB / 1.258 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of SimCode: time 0.001417/1.029, allocations: 1.203 MB / 1.259 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.01743/1.047, allocations: 9.732 MB / 1.269 GB, free: 0.9492 MB / 0.9825 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","/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