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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 112.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.194/3.194, allocations: 489.2 MB / 0.7687 GB, free: 3.746 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203/1.205, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006424/1.212, allocations: 4.168 MB / 1.267 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004801/1.217, allocations: 2.357 MB / 1.269 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/1.217, allocations: 7.5 kB / 1.269 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/1.219, allocations: 0.546 MB / 1.269 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009325/1.22, allocations: 290.7 kB / 1.27 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/1.221, allocations: 353.5 kB / 1.27 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008598/1.222, allocations: 0.5797 MB / 1.271 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006286/1.222, allocations: 376.8 kB / 1.271 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/1.223, allocations: 238.8 kB / 1.271 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005397/1.223, allocations: 289.8 kB / 1.272 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.525e-05/1.223, allocations: 37.25 kB / 1.272 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007535/1.224, allocations: 287.8 kB / 1.272 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/1.224, allocations: 182.5 kB / 1.272 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/1.225, allocations: 220.9 kB / 1.272 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/1.226, allocations: 0.6779 MB / 1.273 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.226, allocations: 0 / 1.273 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.945e-06/1.226, allocations: 4 kB / 1.273 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.177e-06/1.226, allocations: 0.9062 kB / 1.273 GB, free: 1.801 MB / 0.9981 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.001359/1.227, allocations: 0.7403 MB / 1.274 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.227, allocations: 9.375 kB / 1.274 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/1.229, allocations: 161.9 kB / 1.274 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/1.229, allocations: 333.6 kB / 1.274 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/1.229, allocations: 32.61 kB / 1.274 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.021e-05/1.229, allocations: 34.31 kB / 1.274 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/1.23, allocations: 0.6521 MB / 1.275 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/1.23, allocations: 1.469 kB / 1.275 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/1.23, allocations: 21.02 kB / 1.275 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/1.23, allocations: 42.47 kB / 1.275 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008989/1.231, allocations: 489.9 kB / 1.275 GB, free: 380 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/1.236, allocations: 3.486 MB / 1.279 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009562/1.237, allocations: 396.2 kB / 1.279 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/1.237, allocations: 173.4 kB / 1.279 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/1.237, allocations: 7.672 kB / 1.279 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/1.237, allocations: 45.11 kB / 1.279 GB, free: 13.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 2.605e-06/1.237, allocations: 0 / 1.279 GB, free: 13.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.005773/1.243, allocations: 1.589 MB / 1.281 GB, free: 12.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/1.243, allocations: 81.23 kB / 1.281 GB, free: 12.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/1.244, allocations: 331.7 kB / 1.281 GB, free: 12.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/1.244, allocations: 29.7 kB / 1.281 GB, free: 12.31 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/1.244, allocations: 269 kB / 1.282 GB, free: 12.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/1.244, allocations: 100.5 kB / 1.282 GB, free: 12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/1.244, allocations: 95.34 kB / 1.282 GB, free: 11.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000194/1.245, allocations: 348.1 kB / 1.282 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/1.245, allocations: 199.6 kB / 1.282 GB, free: 11.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/1.246, allocations: 359.8 kB / 1.283 GB, free: 11.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/1.247, allocations: 0.5565 MB / 1.283 GB, free: 10.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.247, allocations: 1.156 kB / 1.283 GB, free: 10.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003042/1.25, allocations: 1.019 MB / 1.284 GB, free: 10.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.25, allocations: 7.188 kB / 1.284 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.25, allocations: 5.562 kB / 1.284 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/1.253, allocations: 0.5736 MB / 1.285 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/1.253, allocations: 101.2 kB / 1.285 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007211/1.26, allocations: 4.187 MB / 1.289 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007253/1.261, allocations: 56.02 kB / 1.289 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/1.261, allocations: 22.45 kB / 1.289 GB, free: 7.324 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006348/1.262, allocations: 322.5 kB / 1.289 GB, free: 7.156 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005068/1.262, allocations: 334.9 kB / 1.29 GB, free: 6.898 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008253/1.263, allocations: 0.5242 MB / 1.29 GB, free: 6.527 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.951e-06/1.263, allocations: 2.406 kB / 1.29 GB, free: 6.527 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.00156/1.265, allocations: 0.6717 MB / 1.291 GB, free: 6.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.265, allocations: 7.906 kB / 1.291 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.265, allocations: 9.406 kB / 1.291 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/1.265, allocations: 140.1 kB / 1.291 GB, free: 6.207 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/1.266, allocations: 101.1 kB / 1.291 GB, free: 6.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/1.269, allocations: 3.312 MB / 1.294 GB, free: 3.176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/1.27, allocations: 53.81 kB / 1.294 GB, free: 3.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/1.27, allocations: 23.34 kB / 1.294 GB, free: 3.156 MB / 1.014 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.000288/1.27, allocations: 210.9 kB / 1.295 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.271, allocations: 45.16 kB / 1.295 GB, free: 2.926 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/1.273, allocations: 0.6671 MB / 1.295 GB, free: 2.703 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/1.273, allocations: 4.391 kB / 1.295 GB, free: 2.703 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.273, allocations: 1.281 kB / 1.295 GB, free: 2.703 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/1.273, allocations: 5.359 kB / 1.295 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/1.274, allocations: 0.6608 MB / 1.296 GB, free: 2.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.274, allocations: 0 / 1.296 GB, free: 2.246 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/1.274, allocations: 50.5 kB / 1.296 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/1.276, allocations: 397 kB / 1.296 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/1.276, allocations: 10.88 kB / 1.296 GB, free: 2.188 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00502/1.281, allocations: 3.767 MB / 1.3 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.281, allocations: 2.375 kB / 1.3 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/1.283, allocations: 0.8299 MB / 1.301 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/1.283, allocations: 142.3 kB / 1.301 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/1.283, allocations: 7.844 kB / 1.301 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/1.284, allocations: 38.22 kB / 1.301 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.284, allocations: 26.22 kB / 1.301 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/1.284, allocations: 11.89 kB / 1.301 GB, free: 14.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000364/1.284, allocations: 234.5 kB / 1.301 GB, free: 14.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.71e-07/1.284, allocations: 0 / 1.301 GB, free: 14.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001119/1.285, allocations: 218.1 kB / 1.301 GB, free: 14.38 MB / 1.029 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.0001957/1.285, allocations: 112.5 kB / 1.302 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002927/1.288, allocations: 1.323 MB / 1.303 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.288, allocations: 1.062 kB / 1.303 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008555/1.289, allocations: 494.1 kB / 1.303 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/1.29, allocations: 75.38 kB / 1.303 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.291, allocations: 0.7981 MB / 1.304 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/1.292, allocations: 0.8495 MB / 1.305 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/1.292, allocations: 34.7 kB / 1.305 GB, free: 12.05 MB / 1.029 GB Notification: Performance of SimCode: time 1.052e-06/1.292, allocations: 4 kB / 1.305 GB, free: 12.04 MB / 1.029 GB Notification: Performance of Templates: time 0.01708/1.309, allocations: 8.638 MB / 1.313 GB, free: 11.4 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.575531142996624]