Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008303/0.0008303, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8781/0.8781, allocations: 177.1 MB / 202.7 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.761/1.761, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.416e-06/3.416e-06, allocations: 0 / 0.9997 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.537e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001378/0.001403, allocations: 0.6078 MB / 1 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.002196, allocations: 0.8354 MB / 1.001 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.002223, allocations: 0 / 1.001 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.002246, allocations: 0 / 1.001 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.635e-05/0.002293, allocations: 7.922 kB / 1.001 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.002472, allocations: 19.86 kB / 1.001 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.00253, allocations: 19.94 kB / 1.001 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.002571, allocations: 4 kB / 1.001 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.002704, allocations: 15.98 kB / 1.001 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.002751, allocations: 15.92 kB / 1.001 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.002763, allocations: 0 / 1.001 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 3.969e-05/0.002802, allocations: 7.984 kB / 1.001 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.002812, allocations: 0 / 1.001 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.002827, allocations: 4 kB / 1.001 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 9.674e-05/0.002924, allocations: 15.97 kB / 1.001 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.002929, allocations: 4 kB / 1.001 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.202e-06/0.00293, allocations: 0 / 1.001 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.002934, allocations: 8 kB / 1.001 GB, free: 10.79 MB / 0.9167 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.0003258/0.00326, allocations: 250.3 kB / 1.001 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.003303, allocations: 8.75 kB / 1.001 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.003331, allocations: 30.75 kB / 1.002 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.003433, allocations: 12.92 kB / 1.002 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.389e-05/0.003517, allocations: 113.7 kB / 1.002 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.003528, allocations: 8.312 kB / 1.002 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.003536, allocations: 384 / 1.002 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.773e-05/0.003634, allocations: 34.25 kB / 1.002 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.003641, allocations: 8.188 kB / 1.002 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.003649, allocations: 384 / 1.002 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.003655, allocations: 4.125 kB / 1.002 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.772e-05/0.003692, allocations: 15.98 kB / 1.002 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.003812, allocations: 120.8 kB / 1.002 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.742e-05/0.00386, allocations: 26.52 kB / 1.002 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.003883, allocations: 12.91 kB / 1.002 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.003897, allocations: 0 / 1.002 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.003916, allocations: 34.56 kB / 1.002 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.003917, allocations: 4 kB / 1.002 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001553/0.004072, allocations: 57.62 kB / 1.002 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.004099, allocations: 55.34 kB / 1.002 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.405e-05/0.004153, allocations: 97.86 kB / 1.002 GB, free: 9.754 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.004162, allocations: 29.7 kB / 1.002 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.004189, allocations: 88.08 kB / 1.002 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.00421, allocations: 3.984 kB / 1.002 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.004232, allocations: 17.66 kB / 1.002 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.004304, allocations: 310.8 kB / 1.003 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.00433, allocations: 12.12 kB / 1.003 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.004346, allocations: 7.984 kB / 1.003 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.004387, allocations: 16.84 kB / 1.003 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004389, allocations: 4 kB / 1.003 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.998e-05/0.004449, allocations: 45.69 kB / 1.003 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.004462, allocations: 4 kB / 1.003 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.004467, allocations: 0 / 1.003 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.004478, allocations: 4.094 kB / 1.003 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.447e-05/0.004533, allocations: 11.92 kB / 1.003 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.004539, allocations: 7.922 kB / 1.003 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.004552, allocations: 0 / 1.003 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.004557, allocations: 4 kB / 1.003 GB, free: 9.164 MB / 0.9167 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 5.293e-05/0.00461, allocations: 106.5 kB / 1.003 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-06/0.004616, allocations: 7.953 kB / 1.003 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.004634, allocations: 15.08 kB / 1.003 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004636, allocations: 0 / 1.003 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.004641, allocations: 3.938 kB / 1.003 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.004644, allocations: 7.984 kB / 1.003 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.361e-05/0.004707, allocations: 120.8 kB / 1.003 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004708, allocations: 0 / 1.003 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.004726, allocations: 7.984 kB / 1.003 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.004727, allocations: 0 / 1.003 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.004734, allocations: 4.25 kB / 1.003 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.004736, allocations: 4 kB / 1.003 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.004738, allocations: 3.938 kB / 1.003 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.563e-05/0.004813, allocations: 65.12 kB / 1.003 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.004819, allocations: 8.031 kB / 1.003 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.004829, allocations: 3.984 kB / 1.003 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.004839, allocations: 7.938 kB / 1.003 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.004866, allocations: 3.938 kB / 1.003 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.004868, allocations: 0 / 1.003 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.453e-05/0.004893, allocations: 79.28 kB / 1.003 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004893, allocations: 0 / 1.003 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001169/0.00501, allocations: 4 kB / 1.003 GB, free: 8.645 MB / 0.9167 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.0002535/0.005263, allocations: 0.6094 MB / 1.004 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.463e-05/0.005348, allocations: 19.92 kB / 1.004 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.005349, allocations: 0 / 1.004 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/0.005369, allocations: 7.984 kB / 1.004 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.005478, allocations: 11.88 kB / 1.004 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.005758, allocations: 134.4 kB / 1.004 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.005794, allocations: 63.34 kB / 1.004 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.005815, allocations: 4.125 kB / 1.004 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.005846, allocations: 8.5 kB / 1.004 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of SimCode: time 3.61e-07/0.005847, allocations: 0 / 1.004 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.01918, allocations: 1.761 MB / 1.006 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.47/6.489, allocations: 0 / 1.006 GB, free: 6.074 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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: 10.442485301755369]