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.001557/0.001557, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.325/2.325, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.89 kB / 0.8127 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6084/0.6098, allocations: 140.4 MB / 0.9498 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.001708/0.6115, allocations: 0.5671 MB / 0.9503 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.033e-05/0.6116, allocations: 4 kB / 0.9503 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.6116, allocations: 0 / 0.9503 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.6117, allocations: 1.375 kB / 0.9503 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.845e-05/0.6117, allocations: 7.938 kB / 0.9503 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.48e-05/0.6117, allocations: 0 / 0.9503 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.506e-05/0.6118, allocations: 1.156 kB / 0.9503 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.6119, allocations: 1.438 kB / 0.9503 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.726e-05/0.6119, allocations: 1.375 kB / 0.9503 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.997e-05/0.6119, allocations: 3.938 kB / 0.9503 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.6119, allocations: 0 / 0.9503 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-06/0.6119, allocations: 1.375 kB / 0.9503 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.6119, allocations: 0 / 0.9503 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.612, allocations: 3.984 kB / 0.9503 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.173e-05/0.612, allocations: 5.359 kB / 0.9503 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.612, allocations: 7.938 kB / 0.9503 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.612, allocations: 0 / 0.9503 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6121, allocations: 1.25 kB / 0.9504 GB, free: 8.691 MB / 0.7169 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.0001923/0.6122, allocations: 309.8 kB / 0.9506 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6123, allocations: 9.75 kB / 0.9507 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.23e-05/0.6123, allocations: 30.75 kB / 0.9507 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.861e-05/0.6123, allocations: 6.453 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.36e-05/0.6124, allocations: 160.4 kB / 0.9508 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.6124, allocations: 384 / 0.9508 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.6124, allocations: 5.656 kB / 0.9508 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.724e-05/0.6125, allocations: 35.69 kB / 0.9509 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6125, allocations: 3.938 kB / 0.9509 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.6125, allocations: 0 / 0.9509 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.6125, allocations: 1.156 kB / 0.9509 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.7e-05/0.6126, allocations: 1.281 kB / 0.9509 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.737e-05/0.6127, allocations: 150.9 kB / 0.951 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.126e-05/0.6127, allocations: 15.98 kB / 0.951 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.6127, allocations: 11.89 kB / 0.9511 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.6127, allocations: 0 / 0.9511 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.6128, allocations: 35.72 kB / 0.9511 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.6128, allocations: 0 / 0.9511 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001084/0.6129, allocations: 37.95 kB / 0.9511 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.6129, allocations: 57.06 kB / 0.9512 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.461e-05/0.6129, allocations: 89.86 kB / 0.9513 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.6129, allocations: 29.83 kB / 0.9513 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.001e-05/0.6129, allocations: 80.14 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.613, allocations: 5.688 kB / 0.9514 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.613, allocations: 15.17 kB / 0.9514 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.613, allocations: 314.8 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/0.6131, allocations: 1.344 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.6131, allocations: 1.344 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.6131, allocations: 15.3 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6131, allocations: 0 / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.095e-05/0.6131, allocations: 30.86 kB / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6132, allocations: 5.375 kB / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6132, allocations: 3.938 kB / 0.9518 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.6132, allocations: 0 / 0.9518 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.6132, allocations: 6.016 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.6133, allocations: 0 / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.6133, allocations: 0.7188 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.6133, allocations: 1.156 kB / 0.9518 GB, free: 7.066 MB / 0.7169 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 4.196e-05/0.6133, allocations: 115.1 kB / 0.9519 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-06/0.6133, allocations: 3.938 kB / 0.9519 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.582e-05/0.6133, allocations: 12.75 kB / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.6134, allocations: 0 / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.6134, allocations: 0 / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.6134, allocations: 0 / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.02e-05/0.6134, allocations: 147.4 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6134, allocations: 0 / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.6134, allocations: 5.344 kB / 0.952 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6134, allocations: 5.156 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.6135, allocations: 3.938 kB / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.6135, allocations: 0 / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6135, allocations: 1.562 kB / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.341e-05/0.6135, allocations: 54.52 kB / 0.9521 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.6135, allocations: 83.34 kB / 0.9522 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.6136, allocations: 5.219 kB / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-06/0.6136, allocations: 0 / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.6136, allocations: 9.375 kB / 0.9522 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.6136, allocations: 0 / 0.9522 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.103e-05/0.6136, allocations: 75.28 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6136, allocations: 1.938 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002023/0.6138, allocations: 0 / 0.9523 GB, free: 6.477 MB / 0.7169 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.0002223/0.614, allocations: 0.6012 MB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.451e-05/0.6141, allocations: 8.562 kB / 0.9529 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6141, allocations: 0 / 0.9529 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.06e-06/0.6141, allocations: 1.438 kB / 0.9529 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.6143, allocations: 1.281 kB / 0.9529 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.6145, allocations: 122.4 kB / 0.953 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.974e-05/0.6146, allocations: 0.678 MB / 0.9536 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.768e-06/0.6147, allocations: 4 kB / 0.9536 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.6147, allocations: 8.719 kB / 0.9536 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6147, allocations: 0 / 0.9536 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.6304, allocations: 0.8967 MB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.634, allocations: 10.16 kB / 0.9545 GB, free: 4.484 MB / 0.7169 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) "" Variables in the reference:time,staTim.y Variables in the result:time,staTim.y