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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00167/0.00167, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.5143, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.001646/0.516, allocations: 0.6391 MB / 0.9497 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.492e-05/0.516, allocations: 1.344 kB / 0.9497 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.276e-05/0.5161, allocations: 0 / 0.9497 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.5161, allocations: 4 kB / 0.9497 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.064e-05/0.5161, allocations: 1.375 kB / 0.9497 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.152e-05/0.5162, allocations: 7.984 kB / 0.9497 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.628e-05/0.5162, allocations: 1.125 kB / 0.9497 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.5163, allocations: 1.406 kB / 0.9497 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.387e-05/0.5163, allocations: 0 / 0.9497 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.514e-05/0.5163, allocations: 5.438 kB / 0.9497 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.825e-06/0.5163, allocations: 0 / 0.9497 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-06/0.5163, allocations: 0 / 0.9497 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.5163, allocations: 3.984 kB / 0.9497 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.5164, allocations: 1.312 kB / 0.9497 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.358e-05/0.5164, allocations: 4 kB / 0.9497 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.5164, allocations: 1.312 kB / 0.9497 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.91e-07/0.5164, allocations: 0 / 0.9497 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.5164, allocations: 0 / 0.9497 GB, free: 8.637 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.0001749/0.5166, allocations: 318.1 kB / 0.95 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.5167, allocations: 10.28 kB / 0.95 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.08e-05/0.5167, allocations: 30.75 kB / 0.9501 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.656e-05/0.5167, allocations: 0.9375 kB / 0.9501 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.714e-05/0.5167, allocations: 161.8 kB / 0.9502 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.5168, allocations: 4.375 kB / 0.9502 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.5168, allocations: 2.125 kB / 0.9502 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.963e-05/0.5168, allocations: 28.14 kB / 0.9503 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.5168, allocations: 3.938 kB / 0.9503 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-06/0.5169, allocations: 0 / 0.9503 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5169, allocations: 3.984 kB / 0.9503 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.407e-05/0.5169, allocations: 1.375 kB / 0.9503 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.825e-05/0.517, allocations: 150.9 kB / 0.9504 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.58e-05/0.517, allocations: 23.58 kB / 0.9504 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.517, allocations: 8.484 kB / 0.9504 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.517, allocations: 0 / 0.9504 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.517, allocations: 31.88 kB / 0.9505 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.5171, allocations: 3.938 kB / 0.9505 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.085e-05/0.5171, allocations: 46.34 kB / 0.9505 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.5172, allocations: 51.41 kB / 0.9506 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.314e-05/0.5172, allocations: 93.98 kB / 0.9507 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-06/0.5172, allocations: 30.8 kB / 0.9507 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.015e-06/0.5172, allocations: 80.14 kB / 0.9508 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.5172, allocations: 5.219 kB / 0.9508 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.5173, allocations: 11.09 kB / 0.9508 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.676e-05/0.5173, allocations: 310.8 kB / 0.9511 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/0.5173, allocations: 1.344 kB / 0.9511 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/0.5173, allocations: 5.281 kB / 0.9511 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.894e-05/0.5174, allocations: 11.3 kB / 0.9511 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5174, allocations: 0 / 0.9511 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.223e-05/0.5174, allocations: 39.72 kB / 0.9511 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5174, allocations: 4.469 kB / 0.9511 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5174, allocations: 3.938 kB / 0.9511 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.5175, allocations: 1.25 kB / 0.9511 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.5175, allocations: 1.344 kB / 0.9511 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5175, allocations: 0 / 0.9511 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.109e-05/0.5175, allocations: 5.312 kB / 0.9512 GB, free: 7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.5175, allocations: 4.031 kB / 0.9512 GB, free: 6.996 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.611e-05/0.5176, allocations: 111 kB / 0.9513 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-06/0.5176, allocations: 1.156 kB / 0.9513 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.334e-05/0.5176, allocations: 7.062 kB / 0.9513 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5176, allocations: 1.281 kB / 0.9513 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5176, allocations: 0 / 0.9513 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.5176, allocations: 3.984 kB / 0.9513 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.971e-05/0.5177, allocations: 142.9 kB / 0.9514 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5177, allocations: 0 / 0.9514 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.5177, allocations: 6.219 kB / 0.9514 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.5177, allocations: 0 / 0.9514 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.5177, allocations: 5.125 kB / 0.9514 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5177, allocations: 0 / 0.9514 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5177, allocations: 0 / 0.9514 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.322e-05/0.5178, allocations: 62.72 kB / 0.9515 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.5178, allocations: 80.89 kB / 0.9516 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.5178, allocations: 7.875 kB / 0.9516 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-06/0.5178, allocations: 5.562 kB / 0.9516 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-06/0.5178, allocations: 0 / 0.9516 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.5178, allocations: 0 / 0.9516 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.032e-05/0.5178, allocations: 76.91 kB / 0.9516 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5178, allocations: 0 / 0.9516 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001893/0.518, allocations: 0 / 0.9516 GB, free: 6.418 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.0001907/0.5182, allocations: 0.5986 MB / 0.9522 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.847e-05/0.5183, allocations: 10.5 kB / 0.9522 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5183, allocations: 1.094 kB / 0.9522 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-06/0.5183, allocations: 1.438 kB / 0.9522 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.5184, allocations: 9.578 kB / 0.9523 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.5187, allocations: 101.8 kB / 0.9523 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.59e-05/0.5188, allocations: 0.6752 MB / 0.953 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.18e-05/0.5188, allocations: 0 / 0.953 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.5188, allocations: 8.406 kB / 0.953 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.5188, allocations: 0 / 0.953 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08907/0.6079, allocations: 0.786 MB / 0.9538 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.6081, allocations: 227 kB / 0.954 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.097, allocations: 1.375 kB / 0.954 GB, free: 4.32 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