Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001752/0.001752, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002075/0.002075, allocations: 220 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 3.359/3.359, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 69.92 kB / 1.171 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3928, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001895/0.3947, allocations: 0.6585 MB / 1.346 GB, free: 15.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3957, allocations: 0.8514 MB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.3958, allocations: 0 / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.3958, allocations: 4 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.3959, allocations: 3.938 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.396, allocations: 11.98 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.8e-05/0.3961, allocations: 31.86 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.3962, allocations: 0 / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.3963, allocations: 8 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.793e-05/0.3963, allocations: 11.92 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.3963, allocations: 3.938 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-05/0.3964, allocations: 8 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.3964, allocations: 7.984 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.3964, allocations: 15.92 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.3965, allocations: 24.19 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3965, allocations: 0 / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3965, allocations: 0 / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3965, allocations: 0 / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004534/0.397, allocations: 262.3 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.397, allocations: 8.031 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.323e-05/0.397, allocations: 4.188 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.3971, allocations: 34.75 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.3971, allocations: 4.938 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.3973, allocations: 122.4 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.3973, allocations: 384 / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3973, allocations: 384 / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3975, allocations: 53.98 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3975, allocations: 3.938 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.3975, allocations: 0 / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3975, allocations: 7.984 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.3976, allocations: 27.97 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.398, allocations: 223.9 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3981, allocations: 34.56 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.3982, allocations: 20.91 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3982, allocations: 3.984 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3983, allocations: 38.5 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3983, allocations: 0 / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003636/0.3986, allocations: 77.75 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3987, allocations: 55.39 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.3988, allocations: 101.9 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3988, allocations: 25.7 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.3988, allocations: 80.14 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.3989, allocations: 15.88 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.3989, allocations: 17.7 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.399, allocations: 310.8 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.731e-05/0.3991, allocations: 19.98 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.3992, allocations: 19.95 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3993, allocations: 44.75 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3993, allocations: 0 / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.3995, allocations: 65.62 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3996, allocations: 11.98 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3996, allocations: 4.094 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3996, allocations: 0 / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.3997, allocations: 4 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3997, allocations: 4 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.3997, allocations: 7.984 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.3997, allocations: 0 / 1.349 GB, free: 12.43 MB / 1.045 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 (2): * Single equations (assignments): 2 * 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 8.872e-05/0.3998, allocations: 113.7 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.3998, allocations: 4 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.4001, allocations: 80.89 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4001, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4001, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4001, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.4003, allocations: 128.7 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.4003, allocations: 3.984 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.4003, allocations: 4 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4003, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.4003, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.4003, allocations: 4 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4003, allocations: 4.031 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.4006, allocations: 171.4 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.4006, allocations: 3.953 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.4006, allocations: 3.984 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.4007, allocations: 4 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.4007, allocations: 7.984 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4007, allocations: 0 / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.4008, allocations: 83.28 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4008, allocations: 4.031 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002179/0.401, allocations: 4 kB / 1.349 GB, free: 11.74 MB / 1.045 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 (2): * Single equations (assignments): 2 * 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.0005595/0.4016, allocations: 0.6889 MB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.4018, allocations: 35.95 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4018, allocations: 4 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.4018, allocations: 20.02 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4022, allocations: 9.875 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.4026, allocations: 138.2 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.648e-05/0.4027, allocations: 63.3 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.4027, allocations: 0 / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.4027, allocations: 7.766 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.4027, allocations: 64 / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.4238, allocations: 1.465 MB / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.68, allocations: 13.27 kB / 1.352 GB, free: 9.363 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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: 18.87881226092577]