Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00106/0.00106, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437.8 MB / 0.7128 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6505/0.6508, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004889/0.6557, allocations: 3.81 MB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004056/0.6598, allocations: 2.342 MB / 1.03 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003043/0.6602, allocations: 4 kB / 1.03 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.6605, allocations: 67.48 kB / 1.03 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009303/0.6614, allocations: 266.9 kB / 1.03 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009953/0.6625, allocations: 311.4 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009454/0.6634, allocations: 0.8141 MB / 1.031 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.6648, allocations: 0.6434 MB / 1.032 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.6652, allocations: 195.2 kB / 1.032 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006217/0.6658, allocations: 259 kB / 1.032 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/0.6659, allocations: 20 kB / 1.032 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005884/0.6665, allocations: 315.4 kB / 1.032 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.6667, allocations: 171.5 kB / 1.033 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.6669, allocations: 212.7 kB / 1.033 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.6676, allocations: 0.5045 MB / 1.033 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6676, allocations: 0 / 1.033 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6676, allocations: 0 / 1.033 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.6676, allocations: 3.938 kB / 1.033 GB, free: 5.918 MB / 0.7794 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.001148/0.6688, allocations: 0.6396 MB / 1.034 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6688, allocations: 11.97 kB / 1.034 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.6701, allocations: 164.2 kB / 1.034 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.6706, allocations: 316.5 kB / 1.034 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.6706, allocations: 29.38 kB / 1.034 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.6707, allocations: 40.36 kB / 1.035 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.6717, allocations: 0.6418 MB / 1.035 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.6717, allocations: 0 / 1.035 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.6718, allocations: 16 kB / 1.035 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-05/0.6719, allocations: 48.62 kB / 1.035 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008533/0.6727, allocations: 494.1 kB / 1.036 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.6764, allocations: 3.436 MB / 1.039 GB, free: 15.67 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.6771, allocations: 377 kB / 1.039 GB, free: 15.29 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.6774, allocations: 173.6 kB / 1.04 GB, free: 15.11 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.6774, allocations: 4 kB / 1.04 GB, free: 15.11 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.6774, allocations: 38.5 kB / 1.04 GB, free: 15.06 MB / 0.795 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.6774, allocations: 0 / 1.04 GB, free: 15.06 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.004732/0.6822, allocations: 1.465 MB / 1.041 GB, free: 13.54 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.6823, allocations: 85.09 kB / 1.041 GB, free: 13.44 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.6827, allocations: 336.4 kB / 1.041 GB, free: 13.1 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.6827, allocations: 33.7 kB / 1.041 GB, free: 13.06 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.6829, allocations: 263.2 kB / 1.042 GB, free: 12.8 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/0.683, allocations: 86.75 kB / 1.042 GB, free: 12.71 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.6831, allocations: 45.69 kB / 1.042 GB, free: 12.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6833, allocations: 338.8 kB / 1.042 GB, free: 12.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.6836, allocations: 185 kB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.684, allocations: 350 kB / 1.043 GB, free: 11.73 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.6848, allocations: 0.5396 MB / 1.043 GB, free: 11.12 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.6848, allocations: 4 kB / 1.043 GB, free: 11.11 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002467/0.6873, allocations: 0.9163 MB / 1.044 GB, free: 10.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.6875, allocations: 260.9 kB / 1.044 GB, free: 9.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.6875, allocations: 4 kB / 1.044 GB, free: 9.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.6898, allocations: 0.501 MB / 1.045 GB, free: 9.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.6903, allocations: 95.81 kB / 1.045 GB, free: 9.246 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.696, allocations: 3.79 MB / 1.049 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/0.6966, allocations: 47.89 kB / 1.049 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.6966, allocations: 20 kB / 1.049 GB, free: 5.117 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.6967, allocations: 7.938 kB / 1.049 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009304/0.6976, allocations: 495.2 kB / 1.049 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.6976, allocations: 11.92 kB / 1.049 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.607e-06/0.6976, allocations: 8.719 kB / 1.049 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.6981, allocations: 115.8 kB / 1.049 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.6981, allocations: 12 kB / 1.049 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.6985, allocations: 39.81 kB / 1.049 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.6985, allocations: 20 kB / 1.049 GB, free: 4.422 MB / 0.795 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.0002958/0.6988, allocations: 277 kB / 1.05 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.6989, allocations: 35.61 kB / 1.05 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.7007, allocations: 0.6749 MB / 1.05 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.7007, allocations: 3.938 kB / 1.05 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.7007, allocations: 4 kB / 1.05 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7008, allocations: 0 / 1.05 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.7018, allocations: 0.652 MB / 1.051 GB, free: 2.695 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.7018, allocations: 7.984 kB / 1.051 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.702, allocations: 39.97 kB / 1.051 GB, free: 2.648 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/0.7036, allocations: 405.2 kB / 1.051 GB, free: 2.246 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.7037, allocations: 8 kB / 1.051 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004082/0.7078, allocations: 3.483 MB / 1.055 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7078, allocations: 7.969 kB / 1.055 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.7096, allocations: 0.8258 MB / 1.056 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.7098, allocations: 148.6 kB / 1.056 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.7099, allocations: 8 kB / 1.056 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.7103, allocations: 39.94 kB / 1.056 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.7104, allocations: 15.97 kB / 1.056 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.7104, allocations: 15.94 kB / 1.056 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003269/0.7108, allocations: 243 kB / 1.056 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7108, allocations: 0 / 1.056 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009131/0.7117, allocations: 196 kB / 1.056 GB, free: 12.95 MB / 0.8106 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.0001695/0.7119, allocations: 107.2 kB / 1.056 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001859/0.7137, allocations: 0.9676 MB / 1.057 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.7138, allocations: 0 / 1.057 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007679/0.7145, allocations: 482.3 kB / 1.058 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.7152, allocations: 78.55 kB / 1.058 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.7167, allocations: 0.9744 MB / 1.059 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.7171, allocations: 0.8431 MB / 1.06 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.7173, allocations: 35.38 kB / 1.06 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of SimCode: time 7.72e-07/0.7173, allocations: 8 kB / 1.06 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of Templates: time 0.01267/0.73, allocations: 8.379 MB / 1.068 GB, free: 0.9805 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches