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.009197/0.009197, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001783/0.001783, allocations: 194.6 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.363/2.363, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.683/2.683, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 68.66 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.423, allocations: 140.4 MB / 1.088 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.002537/0.4256, allocations: 0.5644 MB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 6.052e-05/0.4257, allocations: 11.92 kB / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.4257, allocations: 3.938 kB / 1.088 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.4258, allocations: 4 kB / 1.088 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.253e-05/0.4258, allocations: 0 / 1.088 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.565e-05/0.4259, allocations: 0 / 1.088 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.083e-05/0.4259, allocations: 0 / 1.088 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.788e-05/0.426, allocations: 4 kB / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.426, allocations: 0 / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.127e-05/0.4261, allocations: 0 / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.4261, allocations: 0 / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-06/0.4261, allocations: 0 / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.4261, allocations: 0 / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.4262, allocations: 11.94 kB / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.577e-05/0.4263, allocations: 11.98 kB / 1.088 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4263, allocations: 0 / 1.088 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4263, allocations: 0 / 1.088 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.4263, allocations: 0 / 1.088 GB, free: 1.309 MB / 0.8419 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.0003638/0.4267, allocations: 307.6 kB / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4267, allocations: 8.031 kB / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.4268, allocations: 34.75 kB / 1.088 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.4268, allocations: 0.9375 kB / 1.088 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.427, allocations: 168.3 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.427, allocations: 384 / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.427, allocations: 12.31 kB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.4272, allocations: 30.27 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4272, allocations: 3.938 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.4272, allocations: 0 / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4272, allocations: 0 / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.4272, allocations: 4 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.4274, allocations: 141.7 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.631e-05/0.4275, allocations: 22.56 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.4275, allocations: 20.88 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.4276, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4276, allocations: 30.56 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.4276, allocations: 0 / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001516/0.4278, allocations: 33.64 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.4279, allocations: 55.41 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.038e-05/0.4279, allocations: 93.98 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.4279, allocations: 25.7 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.428, allocations: 80.14 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.428, allocations: 7.984 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.4281, allocations: 13.7 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4283, allocations: 314.8 kB / 1.089 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.4283, allocations: 3.938 kB / 1.089 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.4283, allocations: 0 / 1.089 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.4284, allocations: 12.92 kB / 1.089 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4284, allocations: 0 / 1.089 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.671e-05/0.4285, allocations: 33.7 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4285, allocations: 4 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4285, allocations: 7.938 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4285, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.4286, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4286, allocations: 3.984 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.4287, allocations: 3.938 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.4287, allocations: 0 / 1.09 GB, free: 15.62 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 0.0001087/0.4288, allocations: 117.8 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.4288, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.4289, allocations: 11 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4289, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4289, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4289, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.429, allocations: 153.7 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4291, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.4291, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4291, allocations: 4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4291, allocations: 3.938 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4291, allocations: 4 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4291, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.336e-05/0.4292, allocations: 49.14 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.4293, allocations: 87.81 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.4293, allocations: 3.938 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.543e-05/0.4294, allocations: 4.031 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.4294, allocations: 11.94 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.4294, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.483e-05/0.4295, allocations: 75.28 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4295, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003425/0.4298, allocations: 0 / 1.09 GB, free: 15.01 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.0005228/0.4304, allocations: 0.5972 MB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.002e-05/0.4305, allocations: 4 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4305, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/0.4305, allocations: 7.938 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.4308, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.4313, allocations: 119.3 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.4316, allocations: 0.673 MB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.54e-05/0.4317, allocations: 4 kB / 1.091 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.4317, allocations: 7.438 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.4317, allocations: 0 / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3749/0.8066, allocations: 0.912 MB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.4, allocations: 17.48 kB / 1.092 GB, free: 12.71 MB / 0.8575 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) Reference file matches