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.001488/0.001488, allocations: 108 kB / 15.61 MB, free: 152 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.001459/0.001459, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.183/2.183, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 67.91 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.521/0.5222, allocations: 140.4 MB / 0.9498 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.001536/0.5238, allocations: 0.5637 MB / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.219e-05/0.5238, allocations: 0 / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.41e-05/0.5238, allocations: 0 / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.5239, allocations: 1.312 kB / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.106e-05/0.5239, allocations: 7.984 kB / 0.9503 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.857e-05/0.5239, allocations: 4 kB / 0.9503 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.164e-05/0.524, allocations: 2.375 kB / 0.9503 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.524, allocations: 3.938 kB / 0.9503 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.133e-05/0.524, allocations: 1.375 kB / 0.9503 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.328e-05/0.5241, allocations: 0 / 0.9503 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.5241, allocations: 3.938 kB / 0.9503 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.848e-06/0.5241, allocations: 1.094 kB / 0.9503 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.5241, allocations: 0 / 0.9503 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.5241, allocations: 1.438 kB / 0.9503 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.052e-05/0.5242, allocations: 3.938 kB / 0.9503 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5242, allocations: 5.094 kB / 0.9503 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5242, allocations: 0 / 0.9503 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.5242, allocations: 0 / 0.9503 GB, free: 8.707 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.0001517/0.5243, allocations: 314 kB / 0.9506 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.5244, allocations: 9.469 kB / 0.9507 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.993e-05/0.5244, allocations: 31.97 kB / 0.9507 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.768e-05/0.5244, allocations: 0.9375 kB / 0.9507 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.57e-05/0.5245, allocations: 160.4 kB / 0.9508 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.5245, allocations: 9.641 kB / 0.9508 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-06/0.5245, allocations: 4.375 kB / 0.9509 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.848e-05/0.5245, allocations: 28.64 kB / 0.9509 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.5246, allocations: 3.938 kB / 0.9509 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-06/0.5246, allocations: 0 / 0.9509 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5246, allocations: 1.219 kB / 0.9509 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.925e-05/0.5246, allocations: 5.344 kB / 0.9509 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.037e-05/0.5247, allocations: 150.8 kB / 0.951 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.351e-05/0.5247, allocations: 15.64 kB / 0.951 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.5247, allocations: 11.95 kB / 0.9511 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.5247, allocations: 3.984 kB / 0.9511 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.186e-05/0.5247, allocations: 32.16 kB / 0.9511 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.5248, allocations: 0 / 0.9511 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 8.322e-05/0.5248, allocations: 41.83 kB / 0.9511 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/0.5249, allocations: 52.75 kB / 0.9512 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.322e-05/0.5249, allocations: 89.98 kB / 0.9513 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-06/0.5249, allocations: 29.7 kB / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-06/0.5249, allocations: 80.14 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.5249, allocations: 5.125 kB / 0.9514 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.5249, allocations: 10.97 kB / 0.9514 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.935e-05/0.525, allocations: 316.2 kB / 0.9517 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-06/0.525, allocations: 5.516 kB / 0.9517 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-06/0.525, allocations: 0 / 0.9517 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/0.525, allocations: 11.67 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.525, allocations: 0 / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.562e-05/0.5251, allocations: 35.61 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.5251, allocations: 4.594 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5251, allocations: 3.938 kB / 0.9518 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.5251, allocations: 1.344 kB / 0.9518 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.928e-05/0.5251, allocations: 5.344 kB / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.5252, allocations: 0 / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-06/0.5252, allocations: 1.188 kB / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-06/0.5252, allocations: 0 / 0.9518 GB, free: 7.078 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.106e-05/0.5252, allocations: 118.8 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-06/0.5252, allocations: 1.094 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.06e-05/0.5252, allocations: 7.062 kB / 0.9519 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5252, allocations: 4.984 kB / 0.9519 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.5252, allocations: 0 / 0.9519 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.5253, allocations: 0.9062 kB / 0.9519 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.459e-05/0.5253, allocations: 142.8 kB / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5253, allocations: 0 / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-06/0.5253, allocations: 6.078 kB / 0.952 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5253, allocations: 4 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.5253, allocations: 7.875 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.5253, allocations: 1.125 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.5253, allocations: 0 / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.709e-05/0.5254, allocations: 58.86 kB / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.5254, allocations: 80.92 kB / 0.9522 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.5254, allocations: 7.938 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.5254, allocations: 8.016 kB / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-06/0.5254, allocations: 1.812 kB / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-06/0.5254, allocations: 0 / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.025e-06/0.5254, allocations: 75.28 kB / 0.9523 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5254, allocations: 0 / 0.9523 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000177/0.5256, allocations: 1.5 kB / 0.9523 GB, free: 6.484 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.0001716/0.5258, allocations: 0.6039 MB / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.838e-05/0.5259, allocations: 7.312 kB / 0.9529 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5259, allocations: 0 / 0.9529 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.461e-06/0.5259, allocations: 2.312 kB / 0.9529 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.526, allocations: 1.156 kB / 0.9529 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.5262, allocations: 115.6 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.231e-05/0.5263, allocations: 0.6858 MB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.187e-06/0.5263, allocations: 1.375 kB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.5263, allocations: 7.438 kB / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5263, allocations: 0 / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.369/0.8953, allocations: 0.8808 MB / 0.9545 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/8.159, allocations: 15.12 kB / 0.9545 GB, free: 4.504 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