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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001354/0.001354, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.01067/0.01067, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.798/2.798, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004238, allocations: 12 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8618/0.8622, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004886/0.8671, allocations: 3.813 MB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004008/0.8712, allocations: 2.335 MB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.8715, allocations: 4 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.872, allocations: 63.44 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009713/0.8729, allocations: 270.9 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.8742, allocations: 315.4 kB / 1.03 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.8752, allocations: 0.8102 MB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.8766, allocations: 0.6465 MB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.877, allocations: 183.2 kB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.8775, allocations: 271 kB / 1.032 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.8776, allocations: 20 kB / 1.032 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006516/0.8783, allocations: 323.4 kB / 1.032 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.8785, allocations: 155.6 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.8787, allocations: 224.6 kB / 1.032 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000769/0.8795, allocations: 0.652 MB / 1.033 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.8795, allocations: 0 / 1.033 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8795, allocations: 0 / 1.033 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.8795, allocations: 0 / 1.033 GB, free: 5.742 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.001225/0.8808, allocations: 0.6395 MB / 1.033 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.8808, allocations: 8.031 kB / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.8822, allocations: 160.2 kB / 1.034 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.8826, allocations: 316.6 kB / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.8826, allocations: 29.38 kB / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.8827, allocations: 36.36 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.8839, allocations: 0.6458 MB / 1.035 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.8839, allocations: 4 kB / 1.035 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.884, allocations: 16 kB / 1.035 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.959e-05/0.8841, allocations: 44.62 kB / 1.035 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.8852, allocations: 490.1 kB / 1.035 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.8892, allocations: 3.444 MB / 1.039 GB, free: 15.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008246/0.8901, allocations: 380.9 kB / 1.039 GB, free: 15.11 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.8903, allocations: 173.6 kB / 1.039 GB, free: 14.93 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.8904, allocations: 0 / 1.039 GB, free: 14.93 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.8904, allocations: 38.55 kB / 1.039 GB, free: 14.89 MB / 0.795 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.8904, allocations: 0 / 1.039 GB, free: 14.89 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.004809/0.8952, allocations: 1.469 MB / 1.041 GB, free: 13.37 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.8953, allocations: 81.11 kB / 1.041 GB, free: 13.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.8958, allocations: 344.3 kB / 1.041 GB, free: 12.92 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.8958, allocations: 25.7 kB / 1.041 GB, free: 12.89 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.896, allocations: 267.2 kB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.888e-05/0.8961, allocations: 90.75 kB / 1.041 GB, free: 12.54 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.8962, allocations: 41.7 kB / 1.041 GB, free: 12.49 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.8964, allocations: 338.8 kB / 1.042 GB, free: 12.15 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.8967, allocations: 189 kB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.8972, allocations: 338.1 kB / 1.042 GB, free: 11.56 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008006/0.898, allocations: 0.5473 MB / 1.043 GB, free: 10.94 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.898, allocations: 4 kB / 1.043 GB, free: 10.94 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002534/0.9006, allocations: 0.924 MB / 1.044 GB, free: 10 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002706/0.9008, allocations: 245.1 kB / 1.044 GB, free: 9.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.9009, allocations: 12 kB / 1.044 GB, free: 9.672 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/0.9034, allocations: 0.501 MB / 1.044 GB, free: 9.164 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.9039, allocations: 95.81 kB / 1.044 GB, free: 9.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0069/0.9108, allocations: 3.795 MB / 1.048 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/0.9115, allocations: 43.83 kB / 1.048 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.9115, allocations: 27.98 kB / 1.048 GB, free: 4.934 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.9116, allocations: 4 kB / 1.048 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008996/0.9125, allocations: 495.2 kB / 1.049 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.9125, allocations: 4.719 kB / 1.049 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.9125, allocations: 8 kB / 1.049 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.9129, allocations: 119.8 kB / 1.049 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.913, allocations: 11.94 kB / 1.049 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.9133, allocations: 39.81 kB / 1.049 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.9133, allocations: 20 kB / 1.049 GB, free: 4.246 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.0003271/0.9137, allocations: 273.6 kB / 1.049 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/0.9138, allocations: 31.62 kB / 1.049 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.9156, allocations: 0.6766 MB / 1.05 GB, free: 3.25 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.9156, allocations: 7.938 kB / 1.05 GB, free: 3.242 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.9156, allocations: 0 / 1.05 GB, free: 3.242 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9156, allocations: 4 kB / 1.05 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.9167, allocations: 0.6559 MB / 1.05 GB, free: 2.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9167, allocations: 0 / 1.05 GB, free: 2.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.9169, allocations: 47.91 kB / 1.051 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.9184, allocations: 401.3 kB / 1.051 GB, free: 2.074 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.9185, allocations: 8 kB / 1.051 GB, free: 2.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004048/0.9225, allocations: 3.486 MB / 1.054 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.9226, allocations: 4.031 kB / 1.054 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.9243, allocations: 0.8258 MB / 1.055 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.9245, allocations: 152.5 kB / 1.055 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.9246, allocations: 8 kB / 1.055 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.925, allocations: 35.92 kB / 1.055 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.9251, allocations: 19.98 kB / 1.055 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.9251, allocations: 15.98 kB / 1.055 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003275/0.9255, allocations: 239 kB / 1.056 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9255, allocations: 0 / 1.056 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009583/0.9264, allocations: 192 kB / 1.056 GB, free: 12.79 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.0001753/0.9266, allocations: 109.3 kB / 1.056 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.9284, allocations: 0.9715 MB / 1.057 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.9284, allocations: 0 / 1.057 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.9291, allocations: 481.6 kB / 1.057 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.9298, allocations: 81.47 kB / 1.057 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.9312, allocations: 0.9346 MB / 1.058 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.9317, allocations: 0.8431 MB / 1.059 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004512/0.9322, allocations: 139.2 kB / 1.059 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/0.9323, allocations: 31.42 kB / 1.059 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of SimCode: time 5.51e-07/0.9323, allocations: 0 / 1.059 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of Templates: time 0.01231/0.9446, allocations: 6.883 MB / 1.066 GB, free: 2.25 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/jenkins/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