Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.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.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",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.001145/0.00115, allocations: 90.67 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.008615/0.008615, allocations: 170.9 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.374/2.374, allocations: 437.8 MB / 0.7121 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 8 kB / 0.873 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.555, allocations: 153.8 MB / 1.023 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.0006569/0.5557, allocations: 317.3 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 3.426e-05/0.5557, allocations: 4 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.236e-05/0.5557, allocations: 3.938 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.5558, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.422e-05/0.5558, allocations: 3.938 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.516e-05/0.5558, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.076e-05/0.5559, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.5559, allocations: 8 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.5559, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.515e-05/0.556, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.556, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.809e-06/0.556, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.556, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.556, allocations: 29.69 kB / 1.024 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.435e-05/0.5561, allocations: 3.984 kB / 1.024 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5561, allocations: 4 kB / 1.024 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5561, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.5561, allocations: 0 / 1.024 GB, free: 15.65 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002198/0.5563, allocations: 311.6 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5564, allocations: 8.094 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.5564, allocations: 34.75 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.866e-05/0.5564, allocations: 0.9375 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.494e-05/0.5565, allocations: 160.4 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.5565, allocations: 4.359 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.5566, allocations: 384 / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.968e-05/0.5566, allocations: 34.2 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5567, allocations: 7.875 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-06/0.5567, allocations: 4 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.5567, allocations: 0 / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.595e-05/0.5567, allocations: 3.984 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.5568, allocations: 145.7 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.72e-05/0.5568, allocations: 18.61 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.5569, allocations: 4.922 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.5569, allocations: 7.984 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.5569, allocations: 38.5 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.5569, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000103/0.557, allocations: 45.48 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.5571, allocations: 51.41 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.263e-05/0.5571, allocations: 89.86 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.5571, allocations: 25.7 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.5571, allocations: 80.14 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.5572, allocations: 4.125 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.5572, allocations: 13.72 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.5573, allocations: 310.8 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-06/0.5573, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.5573, allocations: 7.938 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.5573, allocations: 12.84 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.5573, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.642e-05/0.5574, allocations: 29.7 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5574, allocations: 12.09 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5574, allocations: 3.938 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.465e-06/0.5574, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.5575, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5575, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.218e-05/0.5575, allocations: 4 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-06/0.5575, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/0.5576, allocations: 106.4 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.5576, allocations: 7.984 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.665e-05/0.5576, allocations: 11.06 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5576, allocations: 7.938 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5576, allocations: 4 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5576, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.066e-05/0.5577, allocations: 145.6 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.5577, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.5578, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5578, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.5578, allocations: 11.92 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5578, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5578, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.216e-05/0.5578, allocations: 57.14 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.5579, allocations: 79.36 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.5579, allocations: 7.938 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.5579, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.5579, allocations: 3.984 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.5579, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.139e-05/0.558, allocations: 75.28 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.302e-06/0.558, allocations: 4.031 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001651/0.5581, allocations: 3.938 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002994/0.5584, allocations: 0.6007 MB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.71e-05/0.5585, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5585, allocations: 8.094 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-06/0.5585, allocations: 3.938 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.5586, allocations: 5.375 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.5589, allocations: 114.3 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.5591, allocations: 0.6692 MB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.106e-05/0.5591, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.5592, allocations: 7.438 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of SimCode: time 1.593e-06/0.5592, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008958/0.5681, allocations: 0.7261 MB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.5683, allocations: 215.5 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.176, allocations: 0 / 1.028 GB, free: 11.02 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,staTim.y Variables in the result:staTim.y,time