Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 106.7 kB / 18.19 MB, free: 4.02 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 184.5 kB / 21.33 MB, free: 0.8789 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 249.9 MB, free: 3.082 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.936/2.936, allocations: 476.7 MB / 0.7634 GB, free: 15.18 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=500,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 71.89 kB / 1.108 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 168.7 MB / 1.272 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005645/1.055, allocations: 4.222 MB / 1.277 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003671/1.059, allocations: 2.388 MB / 1.279 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/1.059, allocations: 10.25 kB / 1.279 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/1.061, allocations: 0.5493 MB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007198/1.061, allocations: 295.5 kB / 1.28 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009022/1.062, allocations: 349 kB / 1.28 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007126/1.063, allocations: 0.5624 MB / 1.281 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/1.064, allocations: 301 kB / 1.281 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/1.064, allocations: 229.9 kB / 1.281 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/1.065, allocations: 303 kB / 1.281 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.38e-05/1.065, allocations: 35 kB / 1.281 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006222/1.065, allocations: 295.7 kB / 1.282 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/1.065, allocations: 176.9 kB / 1.282 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/1.066, allocations: 214.4 kB / 1.282 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008783/1.067, allocations: 0.6691 MB / 1.283 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.067, allocations: 0 / 1.283 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/1.067, allocations: 0 / 1.283 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.956e-06/1.067, allocations: 0 / 1.283 GB, free: 1.746 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.0011/1.068, allocations: 0.737 MB / 1.283 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/1.068, allocations: 9.344 kB / 1.283 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/1.069, allocations: 158.1 kB / 1.284 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/1.069, allocations: 335.2 kB / 1.284 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/1.069, allocations: 31.25 kB / 1.284 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/1.069, allocations: 36.28 kB / 1.284 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009369/1.07, allocations: 0.6369 MB / 1.285 GB, free: 496 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/1.07, allocations: 4.719 kB / 1.285 GB, free: 496 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/1.07, allocations: 15.56 kB / 1.285 GB, free: 484 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.411e-05/1.07, allocations: 40.8 kB / 1.285 GB, free: 480 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/1.071, allocations: 498.4 kB / 1.285 GB, free: 312 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/1.075, allocations: 3.429 MB / 1.288 GB, free: 13.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/1.076, allocations: 347.5 kB / 1.289 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/1.076, allocations: 162.2 kB / 1.289 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/1.076, allocations: 2.656 kB / 1.289 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/1.076, allocations: 38.12 kB / 1.289 GB, free: 13.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/1.076, allocations: 0 / 1.289 GB, free: 13.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.004902/1.081, allocations: 1.458 MB / 1.29 GB, free: 12.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/1.081, allocations: 84.17 kB / 1.29 GB, free: 12.51 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/1.082, allocations: 335.8 kB / 1.291 GB, free: 12.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/1.082, allocations: 29.7 kB / 1.291 GB, free: 12.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/1.082, allocations: 272.8 kB / 1.291 GB, free: 12.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.525e-05/1.082, allocations: 95.81 kB / 1.291 GB, free: 12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/1.082, allocations: 91.02 kB / 1.291 GB, free: 11.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.082, allocations: 343.8 kB / 1.292 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/1.083, allocations: 196.7 kB / 1.292 GB, free: 11.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/1.083, allocations: 344.3 kB / 1.292 GB, free: 11.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008049/1.084, allocations: 0.5462 MB / 1.293 GB, free: 10.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.084, allocations: 1.531 kB / 1.293 GB, free: 10.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002506/1.087, allocations: 0.9145 MB / 1.294 GB, free: 10.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.087, allocations: 7.203 kB / 1.294 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.087, allocations: 6.344 kB / 1.294 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/1.089, allocations: 0.5067 MB / 1.294 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/1.089, allocations: 89.84 kB / 1.294 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006439/1.096, allocations: 4.063 MB / 1.298 GB, free: 7.426 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/1.096, allocations: 52.25 kB / 1.298 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/1.096, allocations: 30.3 kB / 1.298 GB, free: 7.395 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006287/1.097, allocations: 302.9 kB / 1.298 GB, free: 7.238 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005683/1.098, allocations: 332.6 kB / 1.299 GB, free: 6.961 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007524/1.098, allocations: 0.5142 MB / 1.299 GB, free: 6.582 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.438e-06/1.098, allocations: 2.562 kB / 1.299 GB, free: 6.582 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009838/1.099, allocations: 0.5403 MB / 1.3 GB, free: 6.355 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.099, allocations: 8.641 kB / 1.3 GB, free: 6.355 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.099, allocations: 5.594 kB / 1.3 GB, free: 6.355 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.099, allocations: 13.34 kB / 1.3 GB, free: 6.352 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/1.1, allocations: 112.7 kB / 1.3 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.1, allocations: 10.48 kB / 1.3 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/1.1, allocations: 46.16 kB / 1.3 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/1.1, allocations: 22.75 kB / 1.3 GB, free: 6.316 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.0002031/1.101, allocations: 206.7 kB / 1.3 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/1.101, allocations: 36.42 kB / 1.3 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/1.103, allocations: 0.6684 MB / 1.301 GB, free: 5.867 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.103, allocations: 4.625 kB / 1.301 GB, free: 5.867 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.103, allocations: 4 kB / 1.301 GB, free: 5.863 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.103, allocations: 2.609 kB / 1.301 GB, free: 5.863 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/1.104, allocations: 0.6595 MB / 1.302 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.104, allocations: 5.812 kB / 1.302 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/1.104, allocations: 49.2 kB / 1.302 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/1.105, allocations: 396.6 kB / 1.302 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/1.106, allocations: 6.953 kB / 1.302 GB, free: 5.352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004681/1.11, allocations: 3.76 MB / 1.306 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/1.11, allocations: 5.109 kB / 1.306 GB, free: 2.258 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/1.112, allocations: 0.8314 MB / 1.306 GB, free: 1.848 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/1.112, allocations: 147.5 kB / 1.307 GB, free: 1.719 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/1.112, allocations: 7.359 kB / 1.307 GB, free: 1.715 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/1.113, allocations: 42.88 kB / 1.307 GB, free: 1.707 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/1.113, allocations: 26.22 kB / 1.307 GB, free: 1.699 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/1.113, allocations: 7.172 kB / 1.307 GB, free: 1.699 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003426/1.113, allocations: 234.2 kB / 1.307 GB, free: 1.574 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.113, allocations: 0 / 1.307 GB, free: 1.574 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001/1.114, allocations: 196 kB / 1.307 GB, free: 1.555 MB / 1.014 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.0001923/1.114, allocations: 111.4 kB / 1.307 GB, free: 1.457 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002004/1.116, allocations: 0.9464 MB / 1.308 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.116, allocations: 0 / 1.308 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008194/1.117, allocations: 472.7 kB / 1.309 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006193/1.118, allocations: 82.03 kB / 1.309 GB, free: 0.668 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/1.119, allocations: 0.8031 MB / 1.309 GB, free: 208 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/1.12, allocations: 0.8469 MB / 1.31 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/1.12, allocations: 36.44 kB / 1.31 GB, free: 15.47 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/1.12, allocations: 0 / 1.31 GB, free: 15.47 MB / 1.029 GB Notification: Performance of Templates: time 0.01621/1.136, allocations: 8.483 MB / 1.319 GB, free: 14.81 MB / 1.029 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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