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.001641/0.001641, allocations: 104.9 kB / 16.35 MB, free: 6.289 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.001747/0.001748, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.439/1.439, 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.527/2.527, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 64.2 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3478, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.00585/0.3537, allocations: 4.163 MB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003532/0.3572, allocations: 2.209 MB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.3575, allocations: 11.94 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.359, allocations: 0.537 MB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.3596, allocations: 266.7 kB / 1.034 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000838/0.3604, allocations: 354.8 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005659/0.361, allocations: 0.5529 MB / 1.035 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005296/0.3615, allocations: 375.7 kB / 1.035 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.3618, allocations: 227.2 kB / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.3623, allocations: 279 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.3624, allocations: 36 kB / 1.035 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.3628, allocations: 259.5 kB / 1.036 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.363, allocations: 175.5 kB / 1.036 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.3632, allocations: 219 kB / 1.036 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.3639, allocations: 0.6347 MB / 1.037 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3639, allocations: 4 kB / 1.037 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3639, allocations: 0 / 1.037 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3639, allocations: 0 / 1.037 GB, free: 7.738 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.001151/0.3651, allocations: 0.7186 MB / 1.037 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3651, allocations: 8.031 kB / 1.037 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009739/0.3661, allocations: 140.3 kB / 1.038 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.3666, allocations: 332.4 kB / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.3667, allocations: 33.25 kB / 1.038 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.3667, allocations: 32.38 kB / 1.038 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008629/0.3676, allocations: 0.6302 MB / 1.039 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.3676, allocations: 8 kB / 1.039 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.3677, allocations: 12 kB / 1.039 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/0.3678, allocations: 40.62 kB / 1.039 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006792/0.3685, allocations: 478.1 kB / 1.039 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.3718, allocations: 3.42 MB / 1.042 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.3725, allocations: 370.4 kB / 1.043 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.3728, allocations: 177.6 kB / 1.043 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.3728, allocations: 4 kB / 1.043 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.3728, allocations: 38.56 kB / 1.043 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.3728, allocations: 0 / 1.043 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.004578/0.3774, allocations: 1.452 MB / 1.044 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.3775, allocations: 81.11 kB / 1.044 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.3779, allocations: 328.3 kB / 1.045 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.3779, allocations: 33.7 kB / 1.045 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.3781, allocations: 263.2 kB / 1.045 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.3782, allocations: 94.73 kB / 1.045 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.3783, allocations: 86.16 kB / 1.045 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3784, allocations: 342.8 kB / 1.046 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.3787, allocations: 187 kB / 1.046 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.3791, allocations: 338.1 kB / 1.046 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.3798, allocations: 0.5481 MB / 1.047 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3798, allocations: 4 kB / 1.047 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002204/0.382, allocations: 0.9042 MB / 1.048 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.382, allocations: 4 kB / 1.048 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.382, allocations: 8.438 kB / 1.048 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/0.3843, allocations: 0.5009 MB / 1.048 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.3847, allocations: 95.81 kB / 1.048 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005603/0.3903, allocations: 4.054 MB / 1.052 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.3908, allocations: 35.81 kB / 1.052 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.3909, allocations: 20 kB / 1.052 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004398/0.3913, allocations: 305.1 kB / 1.052 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003375/0.3917, allocations: 327.8 kB / 1.053 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005763/0.3923, allocations: 0.4989 MB / 1.053 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.5e-06/0.3923, allocations: 4 kB / 1.053 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007624/0.393, allocations: 0.532 MB / 1.054 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3931, allocations: 10.19 kB / 1.054 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3931, allocations: 8 kB / 1.054 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.3931, allocations: 15.88 kB / 1.054 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.3935, allocations: 107.8 kB / 1.054 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3935, allocations: 15.92 kB / 1.054 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.3938, allocations: 40.31 kB / 1.054 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.3938, allocations: 24 kB / 1.054 GB, free: 4.934 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.000179/0.394, allocations: 204.1 kB / 1.054 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3941, allocations: 31.62 kB / 1.054 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.3958, allocations: 0.6753 MB / 1.055 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3958, allocations: 4 kB / 1.055 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.3959, allocations: 0 / 1.055 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3959, allocations: 4 kB / 1.055 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009875/0.3969, allocations: 0.652 MB / 1.055 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3969, allocations: 0 / 1.055 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.3971, allocations: 47.89 kB / 1.056 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.3986, allocations: 401.3 kB / 1.056 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.3986, allocations: 12 kB / 1.056 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003889/0.4025, allocations: 3.758 MB / 1.06 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4025, allocations: 3.984 kB / 1.06 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.4042, allocations: 0.8224 MB / 1.06 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.4044, allocations: 144.7 kB / 1.061 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.4045, allocations: 8 kB / 1.061 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.4048, allocations: 31.94 kB / 1.061 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.4049, allocations: 23.97 kB / 1.061 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.4049, allocations: 8 kB / 1.061 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002432/0.4052, allocations: 235 kB / 1.061 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4052, allocations: 4 kB / 1.061 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008931/0.4061, allocations: 188 kB / 1.061 GB, free: 13.29 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.0001828/0.4063, allocations: 111.1 kB / 1.061 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.4081, allocations: 0.972 MB / 1.062 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4081, allocations: 192 / 1.062 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007019/0.4088, allocations: 492.1 kB / 1.063 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.4094, allocations: 88.27 kB / 1.063 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.4107, allocations: 0.7309 MB / 1.063 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.4112, allocations: 0.8431 MB / 1.064 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003655/0.4116, allocations: 139.1 kB / 1.064 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.4117, allocations: 31.42 kB / 1.064 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.4117, allocations: 3.938 kB / 1.064 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of Templates: time 0.01211/0.4238, allocations: 7.235 MB / 1.071 GB, free: 2.574 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 cvode -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