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.001182/0.001182, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001184/0.001184, allocations: 188.5 kB / 16.25 MB, free: 6.637 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.562 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.255/2.255, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5329/0.5342, allocations: 140.4 MB / 0.9493 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.00147/0.5357, allocations: 0.6326 MB / 0.9499 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.29e-05/0.5357, allocations: 9.359 kB / 0.9499 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.24e-05/0.5357, allocations: 3.938 kB / 0.9499 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.5358, allocations: 4 kB / 0.9499 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.368e-05/0.5358, allocations: 0 / 0.9499 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.694e-05/0.5358, allocations: 1.375 kB / 0.9499 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.284e-05/0.5359, allocations: 1.375 kB / 0.9499 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.5359, allocations: 1.375 kB / 0.9499 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.176e-05/0.5359, allocations: 0 / 0.9499 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.39e-05/0.536, allocations: 3.938 kB / 0.9499 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.536, allocations: 1.375 kB / 0.9499 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-06/0.536, allocations: 0 / 0.9499 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/0.536, allocations: 0 / 0.9499 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.536, allocations: 1.375 kB / 0.9499 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.907e-05/0.5361, allocations: 7.984 kB / 0.9499 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5361, allocations: 1.375 kB / 0.9499 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5361, allocations: 0 / 0.9499 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.5361, allocations: 0 / 0.9499 GB, free: 8.609 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.0001567/0.5362, allocations: 314.8 kB / 0.9502 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.5363, allocations: 9.625 kB / 0.9502 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.807e-05/0.5363, allocations: 30.75 kB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.511e-05/0.5363, allocations: 2.312 kB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.926e-05/0.5364, allocations: 160.4 kB / 0.9504 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.5364, allocations: 4.312 kB / 0.9504 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-06/0.5364, allocations: 9.734 kB / 0.9504 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.038e-05/0.5364, allocations: 31.58 kB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.5365, allocations: 3.938 kB / 0.9505 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.5365, allocations: 3.984 kB / 0.9505 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.5365, allocations: 1.375 kB / 0.9505 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.268e-05/0.5365, allocations: 1.375 kB / 0.9505 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.203e-05/0.5366, allocations: 147.1 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.566e-05/0.5366, allocations: 19.95 kB / 0.9506 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.5366, allocations: 7.609 kB / 0.9506 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.5366, allocations: 0 / 0.9506 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.284e-05/0.5367, allocations: 39.88 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.5367, allocations: 3.938 kB / 0.9507 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 8.502e-05/0.5367, allocations: 37.75 kB / 0.9507 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.5368, allocations: 52.78 kB / 0.9508 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.189e-05/0.5368, allocations: 93.98 kB / 0.9509 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-06/0.5368, allocations: 25.7 kB / 0.9509 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-06/0.5368, allocations: 81.52 kB / 0.951 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.5368, allocations: 3.906 kB / 0.951 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.5369, allocations: 11.09 kB / 0.951 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.5369, allocations: 316.2 kB / 0.9513 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-06/0.5369, allocations: 0 / 0.9513 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-06/0.5369, allocations: 5.312 kB / 0.9513 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.758e-05/0.5369, allocations: 11.67 kB / 0.9513 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5369, allocations: 0 / 0.9513 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.527e-05/0.537, allocations: 35.19 kB / 0.9513 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.537, allocations: 5.5 kB / 0.9513 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.537, allocations: 3.938 kB / 0.9513 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.537, allocations: 0 / 0.9513 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.045e-05/0.5371, allocations: 2.75 kB / 0.9513 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.5371, allocations: 0 / 0.9513 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.566e-05/0.5371, allocations: 0 / 0.9513 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.5371, allocations: 9.406 kB / 0.9513 GB, free: 6.973 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 3.463e-05/0.5371, allocations: 107.2 kB / 0.9514 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-06/0.5371, allocations: 0 / 0.9514 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.264e-05/0.5372, allocations: 11.05 kB / 0.9515 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.5372, allocations: 5.312 kB / 0.9515 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5372, allocations: 0 / 0.9515 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.5372, allocations: 0 / 0.9515 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.598e-05/0.5372, allocations: 143.1 kB / 0.9516 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.5372, allocations: 0 / 0.9516 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-06/0.5372, allocations: 2.75 kB / 0.9516 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.5372, allocations: 7.938 kB / 0.9516 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.5373, allocations: 7.938 kB / 0.9516 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5373, allocations: 1.375 kB / 0.9516 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5373, allocations: 0 / 0.9516 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.991e-05/0.5373, allocations: 58.62 kB / 0.9517 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.5373, allocations: 79.36 kB / 0.9517 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-06/0.5373, allocations: 9.25 kB / 0.9518 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-06/0.5373, allocations: 4.031 kB / 0.9518 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.5374, allocations: 1.375 kB / 0.9518 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.5374, allocations: 0 / 0.9518 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.336e-06/0.5374, allocations: 75.28 kB / 0.9518 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.71e-07/0.5374, allocations: 1.375 kB / 0.9518 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001662/0.5376, allocations: 3.938 kB / 0.9518 GB, free: 6.387 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.000182/0.5377, allocations: 0.5989 MB / 0.9524 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.07e-05/0.5378, allocations: 10.73 kB / 0.9524 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5378, allocations: 1.375 kB / 0.9524 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-06/0.5378, allocations: 5.312 kB / 0.9524 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.5379, allocations: 1.375 kB / 0.9524 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.5382, allocations: 109.1 kB / 0.9525 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.282e-05/0.5383, allocations: 0.6818 MB / 0.9532 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.648e-06/0.5383, allocations: 7.984 kB / 0.9532 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.5383, allocations: 10.81 kB / 0.9532 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5383, allocations: 0 / 0.9532 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9773/1.516, allocations: 0.8004 MB / 0.954 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/1.516, allocations: 231.1 kB / 0.9542 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/3.618, allocations: 1.062 kB / 0.9542 GB, free: 4.277 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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:staTim.y,time