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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_latest_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.001363/0.001363, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001378/0.001378, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.519/2.519, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 64.06 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3637, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006201/0.37, allocations: 4.165 MB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003903/0.3739, allocations: 2.197 MB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.3742, allocations: 11.94 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.3758, allocations: 0.5409 MB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007153/0.3765, allocations: 274.7 kB / 1.034 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.3775, allocations: 339.2 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006784/0.3782, allocations: 0.5685 MB / 1.035 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005826/0.3788, allocations: 359.8 kB / 1.035 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.3792, allocations: 235.2 kB / 1.035 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.3796, allocations: 271 kB / 1.035 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.3797, allocations: 36 kB / 1.035 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004932/0.3802, allocations: 259.5 kB / 1.036 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.3804, allocations: 179.5 kB / 1.036 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.3806, allocations: 218.9 kB / 1.036 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.3813, allocations: 0.6386 MB / 1.037 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3813, allocations: 0 / 1.037 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3813, allocations: 0 / 1.037 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.3813, allocations: 0 / 1.037 GB, free: 7.809 MB / 0.8106 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.001152/0.3825, allocations: 0.7213 MB / 1.037 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3825, allocations: 8.031 kB / 1.037 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009443/0.3835, allocations: 136.3 kB / 1.038 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.3839, allocations: 336.3 kB / 1.038 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.384, allocations: 25.38 kB / 1.038 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.384, allocations: 48.3 kB / 1.038 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008229/0.3849, allocations: 0.6224 MB / 1.039 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3849, allocations: 0 / 1.039 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.385, allocations: 20 kB / 1.039 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.851e-05/0.385, allocations: 40.62 kB / 1.039 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.3857, allocations: 482.1 kB / 1.039 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.3891, allocations: 3.405 MB / 1.042 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.3898, allocations: 373 kB / 1.043 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.39, allocations: 173.6 kB / 1.043 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.331e-05/0.3901, allocations: 7.938 kB / 1.043 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.3901, allocations: 42.56 kB / 1.043 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.3901, allocations: 0 / 1.043 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.004506/0.3946, allocations: 1.449 MB / 1.044 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.3947, allocations: 85.09 kB / 1.044 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.3951, allocations: 328.4 kB / 1.045 GB, free: 15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3951, allocations: 29.7 kB / 1.045 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.3953, allocations: 263.2 kB / 1.045 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.174e-05/0.3954, allocations: 94.73 kB / 1.045 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.3956, allocations: 90.16 kB / 1.045 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3958, allocations: 346.8 kB / 1.046 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.396, allocations: 183 kB / 1.046 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.3964, allocations: 344.5 kB / 1.046 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.3971, allocations: 0.5482 MB / 1.047 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3971, allocations: 3.938 kB / 1.047 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002179/0.3992, allocations: 0.9046 MB / 1.048 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.3993, allocations: 12.06 kB / 1.048 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.3993, allocations: 8 kB / 1.048 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.4016, allocations: 0.4969 MB / 1.048 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.402, allocations: 95.88 kB / 1.048 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005737/0.4077, allocations: 4.059 MB / 1.052 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.4082, allocations: 39.81 kB / 1.052 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.4082, allocations: 20 kB / 1.052 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000393/0.4086, allocations: 305.1 kB / 1.052 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003175/0.409, allocations: 327.9 kB / 1.053 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005519/0.4095, allocations: 0.5028 MB / 1.053 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.4095, allocations: 0 / 1.053 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007338/0.4103, allocations: 0.5318 MB / 1.054 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4103, allocations: 8 kB / 1.054 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4103, allocations: 4 kB / 1.054 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4103, allocations: 12.66 kB / 1.054 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.4107, allocations: 115.8 kB / 1.054 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4107, allocations: 12 kB / 1.054 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.411, allocations: 35.81 kB / 1.054 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.4111, allocations: 24 kB / 1.054 GB, free: 4.996 MB / 0.8262 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.0001775/0.4113, allocations: 208.1 kB / 1.054 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.4114, allocations: 35.61 kB / 1.054 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.413, allocations: 0.6714 MB / 1.055 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.413, allocations: 4 kB / 1.055 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.413, allocations: 0 / 1.055 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.413, allocations: 3.984 kB / 1.055 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009051/0.4139, allocations: 0.6559 MB / 1.055 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.414, allocations: 0 / 1.055 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.4141, allocations: 48 kB / 1.056 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.4157, allocations: 397.2 kB / 1.056 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.4157, allocations: 8 kB / 1.056 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003881/0.4196, allocations: 3.766 MB / 1.06 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4196, allocations: 0 / 1.06 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.4212, allocations: 0.8261 MB / 1.06 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.4214, allocations: 132.7 kB / 1.061 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.4215, allocations: 4 kB / 1.061 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.4218, allocations: 39.94 kB / 1.061 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.4219, allocations: 23.91 kB / 1.061 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.4219, allocations: 16 kB / 1.061 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002285/0.4222, allocations: 227 kB / 1.061 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4222, allocations: 0 / 1.061 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008704/0.4231, allocations: 192 kB / 1.061 GB, free: 13.35 MB / 0.8419 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.4232, allocations: 111.1 kB / 1.061 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.4249, allocations: 0.9797 MB / 1.062 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4249, allocations: 0 / 1.062 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007799/0.4257, allocations: 484.1 kB / 1.063 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.4264, allocations: 84.03 kB / 1.063 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.4278, allocations: 0.7349 MB / 1.063 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.4283, allocations: 0.847 MB / 1.064 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003484/0.4287, allocations: 135.1 kB / 1.064 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.4288, allocations: 31.42 kB / 1.064 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of SimCode: time 8.01e-07/0.4288, allocations: 0 / 1.064 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of Templates: time 0.01224/0.441, allocations: 7.236 MB / 1.071 GB, free: 2.641 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches