Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.005346/0.005346, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001337/0.001337, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.137/2.137, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.91 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6575, allocations: 140.4 MB / 1.088 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.001381/0.6589, allocations: 0.563 MB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.281e-05/0.659, allocations: 4.734 kB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.659, allocations: 5.062 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.659, allocations: 0 / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.051e-05/0.659, allocations: 0 / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 2.788e-05/0.6591, allocations: 5.125 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.407e-05/0.6591, allocations: 1.891 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.6592, allocations: 4.328 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.211e-05/0.6592, allocations: 0 / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.401e-05/0.6592, allocations: 1.125 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.6592, allocations: 0 / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-06/0.6592, allocations: 4 kB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.6592, allocations: 1.375 kB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.6593, allocations: 3.938 kB / 1.088 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 4.662e-05/0.6593, allocations: 2.766 kB / 1.088 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.6593, allocations: 0 / 1.088 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.163e-06/0.6593, allocations: 0 / 1.088 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.6593, allocations: 0 / 1.088 GB, free: 4.879 MB / 0.8575 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.0001612/0.6595, allocations: 313 kB / 1.088 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.6595, allocations: 9.969 kB / 1.088 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.129e-05/0.6596, allocations: 34.69 kB / 1.088 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.932e-05/0.6596, allocations: 7.172 kB / 1.088 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.735e-05/0.6596, allocations: 161.1 kB / 1.089 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.6596, allocations: 384 / 1.089 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-06/0.6597, allocations: 1.938 kB / 1.089 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.181e-05/0.6597, allocations: 28.27 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.6597, allocations: 4.688 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.6597, allocations: 3.984 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.6598, allocations: 0 / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.328e-05/0.6598, allocations: 1.625 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.033e-05/0.6599, allocations: 152.7 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.698e-05/0.6599, allocations: 20.42 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.6599, allocations: 8.703 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.6599, allocations: 0 / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.152e-05/0.6599, allocations: 31.66 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.6599, allocations: 0 / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 9.053e-05/0.66, allocations: 43.78 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.6601, allocations: 56.5 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.259e-05/0.6601, allocations: 90.66 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-06/0.6601, allocations: 25.7 kB / 1.089 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-06/0.6601, allocations: 81.3 kB / 1.089 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.6601, allocations: 0 / 1.089 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.6602, allocations: 16.8 kB / 1.089 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.161e-05/0.6602, allocations: 319.6 kB / 1.089 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.6602, allocations: 9.25 kB / 1.089 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-06/0.6602, allocations: 1.219 kB / 1.089 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.838e-05/0.6602, allocations: 9.297 kB / 1.089 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6602, allocations: 0 / 1.089 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.861e-05/0.6603, allocations: 31.12 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.6603, allocations: 9.531 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6603, allocations: 3.938 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.6603, allocations: 1 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.367e-05/0.6604, allocations: 2.547 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.6604, allocations: 4.094 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-06/0.6604, allocations: 1.094 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.6604, allocations: 0.7969 kB / 1.09 GB, free: 3.258 MB / 0.8575 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 3.268e-05/0.6604, allocations: 110.9 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.6604, allocations: 1.938 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.306e-05/0.6605, allocations: 7.578 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6605, allocations: 1.094 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.6605, allocations: 0 / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.6605, allocations: 0.5156 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.689e-05/0.6605, allocations: 153.7 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6605, allocations: 0 / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-06/0.6605, allocations: 1.844 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6605, allocations: 1.125 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.6606, allocations: 3.938 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6606, allocations: 0.5625 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.6606, allocations: 1.188 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.131e-05/0.6606, allocations: 64.27 kB / 1.09 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.6606, allocations: 84.72 kB / 1.09 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-06/0.6606, allocations: 5.141 kB / 1.09 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-06/0.6607, allocations: 0.7969 kB / 1.09 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-06/0.6607, allocations: 0.75 kB / 1.09 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.6607, allocations: 0.7188 kB / 1.09 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.646e-06/0.6607, allocations: 75.28 kB / 1.09 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6607, allocations: 1.031 kB / 1.09 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001885/0.6609, allocations: 1.734 kB / 1.09 GB, free: 2.684 MB / 0.8575 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.0001875/0.6611, allocations: 0.604 MB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.566e-05/0.6611, allocations: 11.52 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6611, allocations: 0 / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.6612, allocations: 2.094 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.6613, allocations: 10.31 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.6615, allocations: 106.3 kB / 1.091 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.6618, allocations: 0.6715 MB / 1.091 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.546e-06/0.6618, allocations: 0 / 1.091 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.29e-05/0.6618, allocations: 8.625 kB / 1.091 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.6618, allocations: 0 / 1.091 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.6762, allocations: 0.9158 MB / 1.092 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.916, allocations: 8.906 kB / 1.092 GB, free: 16.9 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches