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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001249/0.001249, allocations: 194.3 kB / 16.14 MB, free: 6.645 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.213/1.213, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.309/2.309, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4957, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.001674/0.4974, allocations: 0.641 MB / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.289e-05/0.4974, allocations: 4 kB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.29e-05/0.4975, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.4975, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.08e-05/0.4975, allocations: 7.875 kB / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.659e-05/0.4976, allocations: 0 / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.948e-05/0.4976, allocations: 4 kB / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.4977, allocations: 4 kB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.126e-05/0.4977, allocations: 0 / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.399e-05/0.4977, allocations: 3.938 kB / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.4977, allocations: 0 / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-06/0.4977, allocations: 4 kB / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.4977, allocations: 3.984 kB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.4978, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.029e-05/0.4978, allocations: 4 kB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4978, allocations: 3.984 kB / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.71e-07/0.4978, allocations: 0 / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.4978, allocations: 0 / 1.017 GB, free: 2.094 MB / 0.7637 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.0002206/0.498, allocations: 307.5 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.4981, allocations: 12.09 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.4981, allocations: 34.75 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.897e-05/0.4982, allocations: 4.938 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.682e-05/0.4982, allocations: 164.4 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.4982, allocations: 384 / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-06/0.4982, allocations: 384 / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.384e-05/0.4983, allocations: 34.2 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4983, allocations: 7.875 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-06/0.4983, allocations: 0 / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4984, allocations: 0 / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.412e-05/0.4984, allocations: 0 / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.4985, allocations: 149.7 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/0.4985, allocations: 18.58 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.4986, allocations: 12.94 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.4986, allocations: 0 / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.4986, allocations: 34.5 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.4986, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 9.838e-05/0.4987, allocations: 41.64 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.4987, allocations: 55.41 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.074e-05/0.4988, allocations: 89.86 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.4988, allocations: 25.7 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/0.4988, allocations: 80.14 kB / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.4988, allocations: 0 / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.4989, allocations: 9.719 kB / 1.018 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.4989, allocations: 318.8 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/0.499, allocations: 4.125 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.499, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.247e-05/0.499, allocations: 16.8 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.499, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.358e-05/0.4991, allocations: 29.7 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.4991, allocations: 4 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4991, allocations: 3.938 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.4991, allocations: 7.938 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.366e-05/0.4991, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.4992, allocations: 4.094 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-06/0.4992, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.4992, allocations: 7.984 kB / 1.019 GB, free: 420 kB / 0.7637 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.492e-05/0.4992, allocations: 114.4 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-06/0.4992, allocations: 0 / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.514e-05/0.4993, allocations: 11.06 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4993, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.4993, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4993, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.905e-05/0.4994, allocations: 153.6 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4994, allocations: 0 / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.4994, allocations: 7.922 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4994, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.4994, allocations: 3.938 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4994, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4994, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.719e-05/0.4995, allocations: 57.14 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.4995, allocations: 83.39 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.4995, allocations: 7.922 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-06/0.4995, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-06/0.4995, allocations: 4 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.4996, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.098e-05/0.4996, allocations: 75.28 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4996, allocations: 0 / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001781/0.4998, allocations: 0 / 1.019 GB, free: 15.81 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.000296/0.5001, allocations: 0.602 MB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.895e-05/0.5001, allocations: 4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5001, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.101e-06/0.5001, allocations: 4 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.5003, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.5005, allocations: 124.9 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.5007, allocations: 0.677 MB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.031e-05/0.5007, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.5007, allocations: 7.438 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.5008, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009035/0.5098, allocations: 0.7778 MB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.51, allocations: 225.2 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.418/1.928, allocations: 2.875 kB / 1.022 GB, free: 13.37 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