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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007002/0.007002, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.001627/0.001627, allocations: 189 kB / 16.67 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 437 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 75.89 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3397, allocations: 151.6 MB / 1.166 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.002063/0.3418, allocations: 0.5802 MB / 1.167 GB, free: 6.652 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 4.115e-05/0.3419, allocations: 4 kB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.3419, allocations: 0 / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.342, allocations: 0 / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.342, allocations: 0 / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.207e-05/0.342, allocations: 4 kB / 1.167 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.269e-05/0.3421, allocations: 4 kB / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.809e-05/0.3422, allocations: 0 / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.3422, allocations: 0 / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.096e-05/0.3422, allocations: 4 kB / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.3422, allocations: 0 / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-06/0.3422, allocations: 0 / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.3422, allocations: 4 kB / 1.167 GB, free: 6.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.3423, allocations: 3.938 kB / 1.167 GB, free: 6.629 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.744e-05/0.3423, allocations: 3.984 kB / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3424, allocations: 0 / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3424, allocations: 0 / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.3424, allocations: 0 / 1.167 GB, free: 6.625 MB / 0.92 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.0003079/0.3427, allocations: 315.6 kB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3427, allocations: 8.031 kB / 1.167 GB, free: 6.258 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.3428, allocations: 38.69 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.3428, allocations: 0.9375 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.3429, allocations: 164.4 kB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3429, allocations: 384 / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.3429, allocations: 384 / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.3431, allocations: 34.25 kB / 1.167 GB, free: 5.973 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3431, allocations: 3.938 kB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.3431, allocations: 3.984 kB / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3431, allocations: 0 / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.3431, allocations: 3.938 kB / 1.167 GB, free: 5.961 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.3433, allocations: 149.7 kB / 1.167 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.624e-05/0.3433, allocations: 22.55 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.3434, allocations: 8.922 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3434, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.3434, allocations: 34.55 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3434, allocations: 0 / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.3436, allocations: 45.53 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.3436, allocations: 55.53 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.3437, allocations: 89.86 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.3437, allocations: 25.7 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.3437, allocations: 80.14 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.3437, allocations: 8.219 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.3438, allocations: 9.719 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3439, allocations: 310.8 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.3439, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-06/0.3439, allocations: 15.98 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.344, allocations: 4.859 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.344, allocations: 4 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.591e-05/0.344, allocations: 33.64 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3441, allocations: 5.406 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3441, allocations: 3.938 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3441, allocations: 0 / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.802e-05/0.3441, allocations: 4 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3442, allocations: 96 / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.3442, allocations: 7.938 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.3442, allocations: 0 / 1.168 GB, free: 4.93 MB / 0.92 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 6.528e-05/0.3442, allocations: 105.8 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.3443, allocations: 11.98 kB / 1.168 GB, free: 4.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.3443, allocations: 7.062 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3443, allocations: 0 / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3443, allocations: 0 / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3443, allocations: 0 / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.3444, allocations: 141.7 kB / 1.168 GB, free: 4.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3444, allocations: 4 kB / 1.168 GB, free: 4.605 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.3444, allocations: 8 kB / 1.168 GB, free: 4.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3444, allocations: 3.984 kB / 1.168 GB, free: 4.594 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3445, allocations: 3.938 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3445, allocations: 0 / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3445, allocations: 0 / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.817e-05/0.3446, allocations: 61.08 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.3446, allocations: 81.14 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.3446, allocations: 7.875 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.3446, allocations: 0 / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.3447, allocations: 3.984 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.3447, allocations: 0 / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.692e-05/0.3447, allocations: 75.28 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.362e-06/0.3447, allocations: 4 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002022/0.3449, allocations: 3.938 kB / 1.169 GB, free: 4.32 MB / 0.92 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.0003586/0.3453, allocations: 0.5972 MB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.15e-05/0.3453, allocations: 11.94 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3454, allocations: 0 / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-06/0.3454, allocations: 0 / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.3455, allocations: 10.58 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.3458, allocations: 107.3 kB / 1.169 GB, free: 3.527 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3461, allocations: 0.6729 MB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.407e-05/0.3461, allocations: 4 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.3461, allocations: 7.438 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/0.3461, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.3618, allocations: 0.9082 MB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/7.891, allocations: 21.36 kB / 1.171 GB, free: 2.004 MB / 0.92 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_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.csv","/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) Reference file matches