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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 98.27 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.009011/0.009011, allocations: 170 kB / 16.27 MB, free: 6.66 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.278/1.278, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.636/2.636, allocations: 462.7 MB / 0.7364 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003131, allocations: 8.25 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2513, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004564/0.2559, allocations: 3.816 MB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003564/0.2595, allocations: 2.342 MB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.2598, allocations: 4 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.2601, allocations: 63.44 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007202/0.2608, allocations: 274.9 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.2616, allocations: 303.4 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008484/0.2625, allocations: 0.8141 MB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.2636, allocations: 0.6525 MB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.264, allocations: 179.2 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004829/0.2645, allocations: 271 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.2645, allocations: 20 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.2651, allocations: 327.4 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.2653, allocations: 147.6 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.2655, allocations: 224.6 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007392/0.2663, allocations: 0.6424 MB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2663, allocations: 0 / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2663, allocations: 0 / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.2663, allocations: 0 / 1.069 GB, free: 10.84 MB / 0.8262 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.001057/0.2674, allocations: 0.6395 MB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2674, allocations: 11.97 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.2676, allocations: 86.69 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.2688, allocations: 156.2 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.2692, allocations: 324.5 kB / 1.07 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.2693, allocations: 33.31 kB / 1.07 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.2693, allocations: 44.31 kB / 1.07 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000958/0.2703, allocations: 0.634 MB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.2703, allocations: 11.84 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.2704, allocations: 16 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.867e-05/0.2705, allocations: 44.62 kB / 1.071 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008177/0.2713, allocations: 494.1 kB / 1.071 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.2748, allocations: 3.436 MB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.2754, allocations: 376.8 kB / 1.075 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.2757, allocations: 181.6 kB / 1.075 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.2757, allocations: 0 / 1.075 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2758, allocations: 38.56 kB / 1.075 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.2758, allocations: 4 kB / 1.075 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.004512/0.2803, allocations: 1.461 MB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.2803, allocations: 85.09 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.2807, allocations: 340.3 kB / 1.077 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.2808, allocations: 29.7 kB / 1.077 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.2809, allocations: 259.3 kB / 1.077 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.281, allocations: 90.66 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.2811, allocations: 49.69 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2812, allocations: 346.8 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.2815, allocations: 181 kB / 1.078 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.2819, allocations: 342 kB / 1.078 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006993/0.2826, allocations: 0.5474 MB / 1.079 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.2827, allocations: 4 kB / 1.079 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002331/0.285, allocations: 0.9161 MB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.2852, allocations: 245 kB / 1.08 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.2852, allocations: 8 kB / 1.08 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/0.2874, allocations: 0.5048 MB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.2878, allocations: 91.88 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1151/0.4029, allocations: 3.786 MB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.4035, allocations: 51.94 kB / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.4036, allocations: 23.98 kB / 1.084 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.4036, allocations: 4 kB / 1.084 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008251/0.4044, allocations: 492.1 kB / 1.084 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4045, allocations: 12.08 kB / 1.085 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.4045, allocations: 8 kB / 1.085 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.4049, allocations: 115.8 kB / 1.085 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.4049, allocations: 15.92 kB / 1.085 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.4053, allocations: 39.81 kB / 1.085 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.4053, allocations: 20 kB / 1.085 GB, free: 9.234 MB / 0.8419 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.0002601/0.4056, allocations: 273.2 kB / 1.085 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.4057, allocations: 35.62 kB / 1.085 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.4074, allocations: 0.6637 MB / 1.086 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4074, allocations: 4 kB / 1.086 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4074, allocations: 3.984 kB / 1.086 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4074, allocations: 8 kB / 1.086 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008824/0.4083, allocations: 0.6519 MB / 1.086 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4083, allocations: 0 / 1.086 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.4085, allocations: 47.89 kB / 1.086 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.41, allocations: 405.3 kB / 1.087 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.4101, allocations: 8 kB / 1.087 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003663/0.4137, allocations: 3.482 MB / 1.09 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4138, allocations: 0 / 1.09 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.4154, allocations: 0.8336 MB / 1.091 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.4155, allocations: 148.6 kB / 1.091 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.4156, allocations: 8 kB / 1.091 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.416, allocations: 35.94 kB / 1.091 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.416, allocations: 19.97 kB / 1.091 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.4161, allocations: 16 kB / 1.091 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000274/0.4163, allocations: 231 kB / 1.091 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4164, allocations: 4 kB / 1.091 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008177/0.4172, allocations: 192 kB / 1.092 GB, free: 1.789 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.002067/0.4193, allocations: 1.415 MB / 1.093 GB, free: 340 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.4209, allocations: 0.9791 MB / 1.094 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4209, allocations: 0 / 1.094 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006852/0.4216, allocations: 479 kB / 1.094 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.4222, allocations: 65.61 kB / 1.094 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007489/0.4297, allocations: 4.738 MB / 1.099 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.4301, allocations: 0.8431 MB / 1.1 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004435/0.4306, allocations: 143.3 kB / 1.1 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.4308, allocations: 119.4 kB / 1.1 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of SimCode: time 9.81e-07/0.4308, allocations: 0 / 1.1 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.176/1.607, allocations: 10.02 MB / 1.11 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/1.608, allocations: 242.2 kB / 1.11 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/3.513, allocations: 0 / 1.11 GB, free: 14.6 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > 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