Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 111.5 kB / 16.41 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 245.1 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 437.1 MB / 0.7171 GB, free: 4.555 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 71.89 kB / 1.027 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3539, allocations: 151.6 MB / 1.175 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.002101/0.3561, allocations: 0.576 MB / 1.175 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 4.995e-05/0.3562, allocations: 7.938 kB / 1.175 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.3562, allocations: 4 kB / 1.175 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.3562, allocations: 0 / 1.175 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.034e-05/0.3563, allocations: 0 / 1.175 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.515e-05/0.3563, allocations: 0 / 1.175 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.094e-05/0.3564, allocations: 0 / 1.175 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.819e-05/0.3565, allocations: 4 kB / 1.175 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.459e-05/0.3565, allocations: 4 kB / 1.175 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.718e-05/0.3565, allocations: 7.922 kB / 1.175 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3565, allocations: 0 / 1.175 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.389e-06/0.3565, allocations: 0 / 1.175 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.3566, allocations: 4 kB / 1.175 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.3566, allocations: 0 / 1.175 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.825e-05/0.3567, allocations: 0 / 1.175 GB, free: 5.742 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3567, allocations: 0 / 1.175 GB, free: 5.742 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.729e-06/0.3567, allocations: 3.984 kB / 1.175 GB, free: 5.738 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3567, allocations: 4 kB / 1.175 GB, free: 5.734 MB / 0.92 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.000337/0.357, allocations: 303.8 kB / 1.176 GB, free: 5.387 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3571, allocations: 12.06 kB / 1.176 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.3572, allocations: 30.75 kB / 1.176 GB, free: 5.336 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.3572, allocations: 4.938 kB / 1.176 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.3574, allocations: 172.4 kB / 1.176 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3575, allocations: 8.297 kB / 1.176 GB, free: 5.117 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.3575, allocations: 384 / 1.176 GB, free: 5.117 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.3576, allocations: 30.27 kB / 1.176 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3576, allocations: 3.938 kB / 1.176 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.3576, allocations: 0 / 1.176 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3576, allocations: 0 / 1.176 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.892e-05/0.3577, allocations: 0 / 1.176 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.3579, allocations: 149.6 kB / 1.176 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/0.358, allocations: 26.52 kB / 1.176 GB, free: 4.848 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.358, allocations: 8.953 kB / 1.176 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.358, allocations: 11.86 kB / 1.176 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.3581, allocations: 30.56 kB / 1.176 GB, free: 4.785 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.3581, allocations: 0 / 1.176 GB, free: 4.785 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.3582, allocations: 37.59 kB / 1.176 GB, free: 4.742 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3583, allocations: 59.53 kB / 1.176 GB, free: 4.672 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.632e-05/0.3583, allocations: 89.86 kB / 1.176 GB, free: 4.574 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3583, allocations: 29.7 kB / 1.176 GB, free: 4.539 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.3584, allocations: 80.14 kB / 1.176 GB, free: 4.457 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3584, allocations: 0 / 1.176 GB, free: 4.457 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.3585, allocations: 9.719 kB / 1.176 GB, free: 4.441 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.3587, allocations: 310.8 kB / 1.177 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.3587, allocations: 11.92 kB / 1.177 GB, free: 4.117 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-06/0.3587, allocations: 4 kB / 1.177 GB, free: 4.113 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/0.3588, allocations: 12.86 kB / 1.177 GB, free: 4.098 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3588, allocations: 0 / 1.177 GB, free: 4.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.634e-05/0.3588, allocations: 29.7 kB / 1.177 GB, free: 4.062 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3589, allocations: 6.188 kB / 1.177 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3589, allocations: 3.938 kB / 1.177 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3589, allocations: 0 / 1.177 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.3589, allocations: 4 kB / 1.177 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.359, allocations: 0 / 1.177 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.359, allocations: 4.094 kB / 1.177 GB, free: 4.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.359, allocations: 3.938 kB / 1.177 GB, free: 4.043 MB / 0.92 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 9.329e-05/0.3591, allocations: 113.8 kB / 1.177 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-06/0.3591, allocations: 0 / 1.177 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.3591, allocations: 11.06 kB / 1.177 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3591, allocations: 0 / 1.177 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3591, allocations: 0 / 1.177 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3591, allocations: 0 / 1.177 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.3593, allocations: 141.7 kB / 1.177 GB, free: 3.723 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3593, allocations: 4 kB / 1.177 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.481e-05/0.3593, allocations: 7.984 kB / 1.177 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3593, allocations: 0 / 1.177 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3593, allocations: 3.938 kB / 1.177 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3593, allocations: 0 / 1.177 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3593, allocations: 0 / 1.177 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.466e-05/0.3594, allocations: 61.48 kB / 1.177 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.3595, allocations: 81.11 kB / 1.177 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.3595, allocations: 11.95 kB / 1.177 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-06/0.3595, allocations: 0 / 1.177 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.3595, allocations: 3.938 kB / 1.177 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3595, allocations: 4 kB / 1.177 GB, free: 3.512 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.3596, allocations: 79.22 kB / 1.177 GB, free: 3.434 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3596, allocations: 0 / 1.177 GB, free: 3.434 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002085/0.3598, allocations: 0 / 1.177 GB, free: 3.434 MB / 0.92 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.0004744/0.3603, allocations: 0.5968 MB / 1.178 GB, free: 2.805 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.622e-05/0.3604, allocations: 8 kB / 1.178 GB, free: 2.797 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3604, allocations: 0 / 1.178 GB, free: 2.797 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/0.3604, allocations: 7.938 kB / 1.178 GB, free: 2.789 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.3605, allocations: 4 kB / 1.178 GB, free: 2.785 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.361, allocations: 107.3 kB / 1.178 GB, free: 2.641 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.3615, allocations: 0.6768 MB / 1.179 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.197e-05/0.3615, allocations: 0 / 1.179 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.3616, allocations: 7.438 kB / 1.179 GB, free: 1.93 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.3616, allocations: 0 / 1.179 GB, free: 1.93 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.384, allocations: 0.9027 MB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.446, allocations: 13.52 kB / 1.18 GB, free: 1.129 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.52451891102828]