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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_10_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.0008772/0.0008772, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005821/0.005821, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 8 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5343/0.5347, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004267/0.539, allocations: 3.821 MB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003043/0.542, allocations: 2.178 MB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.5422, allocations: 8 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.5424, allocations: 67.48 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004847/0.5428, allocations: 243 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.5435, allocations: 315.3 kB / 1.03 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006914/0.5442, allocations: 0.8179 MB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.5452, allocations: 0.6475 MB / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.5455, allocations: 175.3 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.5458, allocations: 263 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.5459, allocations: 20 kB / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.5463, allocations: 299.3 kB / 1.032 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.5465, allocations: 159.6 kB / 1.032 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.5466, allocations: 216.6 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.5472, allocations: 0.6345 MB / 1.033 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5472, allocations: 0 / 1.033 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5472, allocations: 0 / 1.033 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.5473, allocations: 0 / 1.033 GB, free: 5.98 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.0008942/0.5482, allocations: 0.6239 MB / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.5482, allocations: 8.031 kB / 1.033 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.819e-05/0.5483, allocations: 86.69 kB / 1.033 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009171/0.5492, allocations: 140.2 kB / 1.034 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.5496, allocations: 324.5 kB / 1.034 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.5496, allocations: 25.38 kB / 1.034 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.5497, allocations: 40.36 kB / 1.034 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/0.5505, allocations: 0.6261 MB / 1.035 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.5505, allocations: 0 / 1.035 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.5506, allocations: 16 kB / 1.035 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.38e-05/0.5507, allocations: 40.64 kB / 1.035 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.5514, allocations: 478.1 kB / 1.035 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003072/0.5545, allocations: 3.428 MB / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.5551, allocations: 382.5 kB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.5554, allocations: 173.6 kB / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.5554, allocations: 4 kB / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.5554, allocations: 34.5 kB / 1.039 GB, free: 15.11 MB / 0.795 GB Notification: Performance of pre-optimization done (n=25): time 1.203e-06/0.5554, allocations: 0 / 1.039 GB, free: 15.11 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.004402/0.5599, allocations: 1.477 MB / 1.04 GB, free: 13.59 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.5599, allocations: 81.11 kB / 1.04 GB, free: 13.49 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.5602, allocations: 328.3 kB / 1.041 GB, free: 13.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.5603, allocations: 33.7 kB / 1.041 GB, free: 13.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.5604, allocations: 263.2 kB / 1.041 GB, free: 12.86 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.5605, allocations: 90.75 kB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.5606, allocations: 37.7 kB / 1.041 GB, free: 12.72 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5607, allocations: 342.8 kB / 1.042 GB, free: 12.38 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.5609, allocations: 185 kB / 1.042 GB, free: 12.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.5613, allocations: 338.1 kB / 1.042 GB, free: 11.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.562, allocations: 0.5396 MB / 1.043 GB, free: 11.18 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.562, allocations: 4 kB / 1.043 GB, free: 11.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002176/0.5642, allocations: 0.9042 MB / 1.043 GB, free: 10.26 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.5643, allocations: 253.3 kB / 1.044 GB, free: 9.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.5643, allocations: 4 kB / 1.044 GB, free: 9.934 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/0.5665, allocations: 0.5049 MB / 1.044 GB, free: 9.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.5669, allocations: 95.83 kB / 1.044 GB, free: 9.328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005131/0.572, allocations: 3.782 MB / 1.048 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.5724, allocations: 35.91 kB / 1.048 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.5724, allocations: 24 kB / 1.048 GB, free: 5.215 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.5724, allocations: 5.562 kB / 1.048 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007109/0.5732, allocations: 483.8 kB / 1.049 GB, free: 4.738 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5732, allocations: 12.12 kB / 1.049 GB, free: 4.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.5732, allocations: 8 kB / 1.049 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.5736, allocations: 103.9 kB / 1.049 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5736, allocations: 11.94 kB / 1.049 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.5738, allocations: 35.81 kB / 1.049 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.5739, allocations: 20 kB / 1.049 GB, free: 4.551 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.000232/0.5741, allocations: 278.1 kB / 1.049 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.5742, allocations: 31.62 kB / 1.049 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.5758, allocations: 0.6742 MB / 1.05 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5758, allocations: 7.984 kB / 1.05 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.5758, allocations: 0 / 1.05 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5758, allocations: 0 / 1.05 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/0.5767, allocations: 0.6598 MB / 1.05 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5767, allocations: 7.938 kB / 1.05 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.5769, allocations: 39.97 kB / 1.05 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.5783, allocations: 405.2 kB / 1.051 GB, free: 2.371 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.5784, allocations: 8 kB / 1.051 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/0.582, allocations: 3.478 MB / 1.054 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5821, allocations: 4.031 kB / 1.054 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.5837, allocations: 0.8296 MB / 1.055 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.5838, allocations: 148.6 kB / 1.055 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.5839, allocations: 8 kB / 1.055 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.5842, allocations: 35.94 kB / 1.055 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.5843, allocations: 23.97 kB / 1.055 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.5843, allocations: 4 kB / 1.055 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002144/0.5845, allocations: 231.1 kB / 1.055 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.413e-06/0.5845, allocations: 0 / 1.055 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000769/0.5853, allocations: 199.9 kB / 1.056 GB, free: 13.1 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.002004/0.5873, allocations: 1.406 MB / 1.057 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.5888, allocations: 0.9527 MB / 1.058 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5888, allocations: 192 / 1.058 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.5895, allocations: 481 kB / 1.058 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.5901, allocations: 76.05 kB / 1.058 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006951/0.5971, allocations: 4.69 MB / 1.063 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.5975, allocations: 0.8509 MB / 1.064 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003626/0.5979, allocations: 143.2 kB / 1.064 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.598, allocations: 115.4 kB / 1.064 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.598, allocations: 0 / 1.064 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.6223, allocations: 9.88 MB / 1.074 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.6226, allocations: 235.2 kB / 1.074 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.536, allocations: 0 / 1.074 GB, free: 10.12 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > 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/jenkins1/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