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.009127/0.009127, allocations: 100.9 kB / 15.73 MB, free: 5.562 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.00144/0.00144, allocations: 195.2 kB / 16.67 MB, free: 5.504 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.171/2.171, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.89 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.093, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.01014/1.103, allocations: 4.168 MB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007198/1.11, allocations: 2.352 MB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005677/1.111, allocations: 6.531 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/1.113, allocations: 0.5423 MB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/1.115, allocations: 299.2 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/1.117, allocations: 344.8 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001021/1.118, allocations: 0.5644 MB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006776/1.118, allocations: 375.3 kB / 1.096 GB, free: 80 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/1.119, allocations: 228.9 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/1.12, allocations: 278.4 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.788e-05/1.12, allocations: 35.09 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000856/1.121, allocations: 289.4 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/1.121, allocations: 172.3 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003117/1.121, allocations: 219.5 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/1.122, allocations: 0.6554 MB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.122, allocations: 1.188 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.004e-06/1.122, allocations: 0 / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.588e-06/1.122, allocations: 0 / 1.098 GB, free: 15.37 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.001515/1.124, allocations: 0.7264 MB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.124, allocations: 9.156 kB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/1.125, allocations: 157.7 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/1.126, allocations: 339.3 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/1.126, allocations: 23.25 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-05/1.126, allocations: 35.72 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/1.127, allocations: 0.6378 MB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/1.127, allocations: 1.75 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/1.127, allocations: 17.27 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/1.128, allocations: 42.11 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/1.129, allocations: 497.4 kB / 1.101 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004384/1.133, allocations: 3.428 MB / 1.104 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008351/1.134, allocations: 375.9 kB / 1.104 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/1.134, allocations: 169.3 kB / 1.104 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/1.134, allocations: 3.688 kB / 1.104 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/1.134, allocations: 41.09 kB / 1.104 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/1.134, allocations: 4 kB / 1.104 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.005216/1.139, allocations: 1.452 MB / 1.106 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/1.14, allocations: 87.72 kB / 1.106 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/1.14, allocations: 334.4 kB / 1.106 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/1.14, allocations: 35.08 kB / 1.106 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/1.14, allocations: 262.6 kB / 1.107 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/1.14, allocations: 92.39 kB / 1.107 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/1.141, allocations: 95.83 kB / 1.107 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.141, allocations: 339.8 kB / 1.107 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/1.141, allocations: 196.8 kB / 1.107 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/1.142, allocations: 343.3 kB / 1.108 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007875/1.142, allocations: 0.5408 MB / 1.108 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.142, allocations: 2.688 kB / 1.108 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002747/1.145, allocations: 0.9207 MB / 1.109 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.145, allocations: 8.031 kB / 1.109 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.145, allocations: 4.984 kB / 1.109 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/1.148, allocations: 0.4975 MB / 1.11 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/1.148, allocations: 95.92 kB / 1.11 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006276/1.154, allocations: 4.06 MB / 1.114 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/1.155, allocations: 48.38 kB / 1.114 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/1.155, allocations: 24.94 kB / 1.114 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005826/1.156, allocations: 309.8 kB / 1.114 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004463/1.156, allocations: 332 kB / 1.114 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007589/1.157, allocations: 0.5144 MB / 1.115 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/1.157, allocations: 2.406 kB / 1.115 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001178/1.158, allocations: 0.5372 MB / 1.115 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.158, allocations: 6.656 kB / 1.115 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.158, allocations: 6.562 kB / 1.115 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/1.158, allocations: 12.83 kB / 1.115 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/1.159, allocations: 113.2 kB / 1.115 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/1.159, allocations: 10.12 kB / 1.115 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/1.159, allocations: 50.92 kB / 1.115 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/1.159, allocations: 22.81 kB / 1.115 GB, free: 3.953 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.000277/1.16, allocations: 209.5 kB / 1.116 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.16, allocations: 32.19 kB / 1.116 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/1.162, allocations: 0.6774 MB / 1.116 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.162, allocations: 2.625 kB / 1.116 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.162, allocations: 1.312 kB / 1.116 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.162, allocations: 1.875 kB / 1.116 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/1.163, allocations: 0.6639 MB / 1.117 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.163, allocations: 1.922 kB / 1.117 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/1.163, allocations: 41.2 kB / 1.117 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/1.165, allocations: 400.8 kB / 1.117 GB, free: 3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/1.165, allocations: 6.906 kB / 1.117 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004609/1.17, allocations: 3.767 MB / 1.121 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.17, allocations: 1.312 kB / 1.121 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/1.172, allocations: 0.8203 MB / 1.122 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/1.172, allocations: 142.5 kB / 1.122 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/1.172, allocations: 7.281 kB / 1.122 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/1.172, allocations: 39.33 kB / 1.122 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/1.172, allocations: 26.47 kB / 1.122 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/1.172, allocations: 10.91 kB / 1.122 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003888/1.173, allocations: 234.7 kB / 1.122 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.71e-07/1.173, allocations: 1.531 kB / 1.122 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00109/1.174, allocations: 195 kB / 1.123 GB, free: 15.21 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.0001791/1.174, allocations: 109.2 kB / 1.123 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001952/1.176, allocations: 0.985 MB / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.176, allocations: 1.75 kB / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008192/1.177, allocations: 0.4898 MB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/1.178, allocations: 71.8 kB / 1.124 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/1.179, allocations: 0.7449 MB / 1.125 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/1.18, allocations: 0.8461 MB / 1.126 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004634/1.18, allocations: 140.2 kB / 1.126 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/1.18, allocations: 27.78 kB / 1.126 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of SimCode: time 5.61e-07/1.18, allocations: 0 / 1.126 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of Templates: time 0.01778/1.198, allocations: 7.604 MB / 1.133 GB, free: 12.61 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/jenkins/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