Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 117.3 kB / 17.13 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 209.5 kB / 20.09 MB, free: 2.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.968/2.968, allocations: 0.49 GB / 0.7923 GB, free: 1.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 71.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219/1.221, allocations: 176.1 MB / 1.322 GB, free: 24.98 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005319/1.226, allocations: 4.232 MB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004145/1.23, allocations: 2.422 MB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/1.231, allocations: 10.75 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/1.232, allocations: 0.5458 MB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008772/1.233, allocations: 297.6 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/1.234, allocations: 346.2 kB / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009775/1.235, allocations: 0.5863 MB / 1.33 GB, free: 19.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007043/1.236, allocations: 304.2 kB / 1.33 GB, free: 19.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/1.237, allocations: 258.5 kB / 1.331 GB, free: 19.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005917/1.237, allocations: 302.3 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/1.237, allocations: 37.56 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007364/1.238, allocations: 292.4 kB / 1.331 GB, free: 19.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002394/1.238, allocations: 186.3 kB / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002691/1.238, allocations: 216.8 kB / 1.332 GB, free: 18.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/1.24, allocations: 0.6795 MB / 1.332 GB, free: 18.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.24, allocations: 0.7969 kB / 1.332 GB, free: 18.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.744e-06/1.24, allocations: 0 / 1.332 GB, free: 18.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.829e-06/1.24, allocations: 0 / 1.332 GB, free: 18.73 MB / 1.061 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.001477/1.241, allocations: 0.7549 MB / 1.333 GB, free: 18.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.241, allocations: 13.67 kB / 1.333 GB, free: 18.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/1.243, allocations: 162.4 kB / 1.333 GB, free: 18.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/1.243, allocations: 335.8 kB / 1.334 GB, free: 17.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/1.243, allocations: 28.38 kB / 1.334 GB, free: 17.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.859e-05/1.243, allocations: 44.41 kB / 1.334 GB, free: 17.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/1.244, allocations: 0.6496 MB / 1.334 GB, free: 17.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.244, allocations: 6.828 kB / 1.334 GB, free: 17.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/1.244, allocations: 16.38 kB / 1.334 GB, free: 17.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/1.245, allocations: 41.62 kB / 1.334 GB, free: 17.44 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/1.246, allocations: 493.8 kB / 1.335 GB, free: 17.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003951/1.25, allocations: 3.476 MB / 1.338 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008857/1.251, allocations: 374.5 kB / 1.339 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/1.251, allocations: 158 kB / 1.339 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/1.251, allocations: 7.844 kB / 1.339 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/1.251, allocations: 33.53 kB / 1.339 GB, free: 14.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 2.885e-06/1.251, allocations: 5.359 kB / 1.339 GB, free: 14.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.006033/1.257, allocations: 1.572 MB / 1.34 GB, free: 13.56 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/1.257, allocations: 88.64 kB / 1.34 GB, free: 13.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/1.257, allocations: 333.9 kB / 1.341 GB, free: 13.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.258, allocations: 31.11 kB / 1.341 GB, free: 13.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/1.258, allocations: 267.2 kB / 1.341 GB, free: 13.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/1.258, allocations: 105.5 kB / 1.341 GB, free: 12.94 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/1.258, allocations: 91.53 kB / 1.341 GB, free: 12.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/1.258, allocations: 339.2 kB / 1.342 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/1.258, allocations: 208.2 kB / 1.342 GB, free: 12.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/1.259, allocations: 363.6 kB / 1.342 GB, free: 12.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000819/1.26, allocations: 0.5567 MB / 1.343 GB, free: 11.83 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.26, allocations: 2.312 kB / 1.343 GB, free: 11.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003207/1.263, allocations: 1.015 MB / 1.344 GB, free: 11.53 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.263, allocations: 13.78 kB / 1.344 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/1.263, allocations: 6.281 kB / 1.344 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/1.266, allocations: 0.5736 MB / 1.344 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/1.267, allocations: 100.5 kB / 1.344 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006572/1.273, allocations: 4.176 MB / 1.348 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/1.274, allocations: 54.88 kB / 1.348 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/1.274, allocations: 23.67 kB / 1.348 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005744/1.275, allocations: 318.5 kB / 1.349 GB, free: 8.102 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00042/1.275, allocations: 339.5 kB / 1.349 GB, free: 7.836 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006972/1.276, allocations: 0.5238 MB / 1.35 GB, free: 7.465 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.649e-06/1.276, allocations: 6.406 kB / 1.35 GB, free: 7.461 MB / 1.061 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001563/1.277, allocations: 0.6698 MB / 1.35 GB, free: 7.184 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.277, allocations: 7.125 kB / 1.35 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.277, allocations: 5.344 kB / 1.35 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/1.278, allocations: 140.9 kB / 1.35 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/1.278, allocations: 104.2 kB / 1.35 GB, free: 7.129 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/1.281, allocations: 3.314 MB / 1.354 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/1.282, allocations: 53.66 kB / 1.354 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/1.282, allocations: 22.59 kB / 1.354 GB, free: 4.098 MB / 1.061 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.0002274/1.282, allocations: 209.6 kB / 1.354 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/1.282, allocations: 35.47 kB / 1.354 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/1.284, allocations: 0.671 MB / 1.355 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.284, allocations: 2.938 kB / 1.355 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.284, allocations: 1.562 kB / 1.355 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/1.284, allocations: 2.688 kB / 1.355 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/1.285, allocations: 0.6597 MB / 1.355 GB, free: 3.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.285, allocations: 2.406 kB / 1.355 GB, free: 3.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/1.285, allocations: 43.75 kB / 1.355 GB, free: 3.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/1.287, allocations: 397.3 kB / 1.356 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/1.287, allocations: 7.797 kB / 1.356 GB, free: 3.141 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003894/1.291, allocations: 3.758 MB / 1.359 GB, free: 44 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.291, allocations: 1.406 kB / 1.359 GB, free: 44 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/1.293, allocations: 0.8272 MB / 1.36 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/1.293, allocations: 139.3 kB / 1.36 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/1.293, allocations: 6.953 kB / 1.36 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/1.294, allocations: 42.69 kB / 1.36 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-05/1.294, allocations: 31.33 kB / 1.36 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/1.294, allocations: 6.688 kB / 1.36 GB, free: 15.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003826/1.294, allocations: 234.9 kB / 1.361 GB, free: 15.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.294, allocations: 0 / 1.361 GB, free: 15.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001216/1.295, allocations: 221.7 kB / 1.361 GB, free: 15.34 MB / 1.076 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.0002309/1.296, allocations: 108.7 kB / 1.361 GB, free: 15.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003112/1.299, allocations: 1.282 MB / 1.362 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.299, allocations: 1.344 kB / 1.362 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009205/1.3, allocations: 470.8 kB / 1.363 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/1.3, allocations: 80.84 kB / 1.363 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/1.302, allocations: 0.8131 MB / 1.364 GB, free: 13.74 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/1.303, allocations: 0.8535 MB / 1.364 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/1.303, allocations: 36.36 kB / 1.364 GB, free: 13.01 MB / 1.076 GB Notification: Performance of SimCode: time 9.52e-07/1.303, allocations: 0 / 1.364 GB, free: 13.01 MB / 1.076 GB Notification: Performance of Templates: time 0.01969/1.323, allocations: 8.656 MB / 1.373 GB, free: 12.34 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.701027457995224]