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.001317/0.001324, allocations: 113.7 kB / 16.38 MB, free: 6.016 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.001452/0.001452, allocations: 184.4 kB / 17.31 MB, free: 5.617 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.601/2.601, allocations: 442.6 MB / 0.7166 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 64.17 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3978, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006547/0.4044, allocations: 4.168 MB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003698/0.4081, allocations: 2.193 MB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.4083, allocations: 11.94 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.4098, allocations: 0.5441 MB / 1.034 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006153/0.4105, allocations: 274.7 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009057/0.4114, allocations: 347.2 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000636/0.412, allocations: 0.5568 MB / 1.035 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005671/0.4126, allocations: 367.8 kB / 1.035 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.4129, allocations: 231.2 kB / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.4134, allocations: 283 kB / 1.036 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.4134, allocations: 36 kB / 1.036 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.4139, allocations: 259.5 kB / 1.036 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.4141, allocations: 175.6 kB / 1.036 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.4143, allocations: 214.9 kB / 1.036 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006876/0.415, allocations: 0.6386 MB / 1.037 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.415, allocations: 0 / 1.037 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.924e-06/0.415, allocations: 0 / 1.037 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.4151, allocations: 0 / 1.037 GB, free: 7.766 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.00127/0.4163, allocations: 0.7174 MB / 1.037 GB, free: 7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4164, allocations: 8.031 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000974/0.4174, allocations: 132.3 kB / 1.038 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.4178, allocations: 340.4 kB / 1.038 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.4179, allocations: 25.36 kB / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/0.418, allocations: 40.38 kB / 1.038 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008957/0.4189, allocations: 0.6263 MB / 1.039 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4189, allocations: 4 kB / 1.039 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.4189, allocations: 19.98 kB / 1.039 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.279e-05/0.419, allocations: 40.62 kB / 1.039 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.4198, allocations: 478.1 kB / 1.039 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.4232, allocations: 3.409 MB / 1.042 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006935/0.4239, allocations: 370.4 kB / 1.043 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.4242, allocations: 177.6 kB / 1.043 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.4243, allocations: 11.92 kB / 1.043 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4243, allocations: 34.56 kB / 1.043 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.4243, allocations: 0 / 1.043 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.004576/0.4289, allocations: 1.46 MB / 1.044 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.4289, allocations: 77.11 kB / 1.045 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.4293, allocations: 328.4 kB / 1.045 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.4293, allocations: 29.7 kB / 1.045 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.4295, allocations: 259.2 kB / 1.045 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.92e-05/0.4296, allocations: 98.73 kB / 1.045 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.4298, allocations: 94.14 kB / 1.045 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4299, allocations: 338.8 kB / 1.046 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.4302, allocations: 186.9 kB / 1.046 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.4305, allocations: 338.1 kB / 1.046 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006559/0.4312, allocations: 0.5403 MB / 1.047 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4312, allocations: 0 / 1.047 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002232/0.4335, allocations: 0.9162 MB / 1.048 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4335, allocations: 8.062 kB / 1.048 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4335, allocations: 8 kB / 1.048 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/0.4357, allocations: 0.5048 MB / 1.048 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.4361, allocations: 91.88 kB / 1.048 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005618/0.4417, allocations: 4.05 MB / 1.052 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.4422, allocations: 39.81 kB / 1.052 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.4423, allocations: 23.98 kB / 1.052 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003969/0.4427, allocations: 301.1 kB / 1.052 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003478/0.443, allocations: 327.9 kB / 1.053 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005903/0.4436, allocations: 0.5035 MB / 1.053 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.4436, allocations: 0 / 1.053 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007852/0.4444, allocations: 0.5279 MB / 1.054 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4444, allocations: 8 kB / 1.054 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4445, allocations: 8 kB / 1.054 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.4445, allocations: 8.75 kB / 1.054 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.4449, allocations: 111.8 kB / 1.054 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.4449, allocations: 15.98 kB / 1.054 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.4452, allocations: 39.83 kB / 1.054 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.4452, allocations: 27.92 kB / 1.054 GB, free: 4.961 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.0001769/0.4454, allocations: 204.1 kB / 1.054 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/0.4455, allocations: 31.62 kB / 1.054 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.4471, allocations: 0.6715 MB / 1.055 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.4471, allocations: 3.938 kB / 1.055 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.4471, allocations: 4 kB / 1.055 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.4473, allocations: 144.6 kB / 1.055 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.4474, allocations: 8 kB / 1.055 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.4477, allocations: 35.94 kB / 1.055 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.4478, allocations: 19.97 kB / 1.055 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001214/0.449, allocations: 0.6762 MB / 1.056 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007716/0.4498, allocations: 0.7278 MB / 1.056 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002251/0.45, allocations: 159.8 kB / 1.057 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002355/0.4503, allocations: 219.1 kB / 1.057 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of Backend: time 4.71e-07/0.4503, allocations: 4 kB / 1.057 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.4524, allocations: 1.029 MB / 1.058 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of SimCode: time 0.001444/0.4539, allocations: 1.2 MB / 1.059 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.01453/0.4684, allocations: 9.036 MB / 1.068 GB, free: 6.695 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 -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