Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001394/0.001394, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001755/0.001755, allocations: 221.3 kB / 23.05 MB, free: 5.074 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.338/3.338, allocations: 0.49 GB / 0.7959 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_12_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.002087/0.002087, allocations: 66.75 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4145, allocations: 176.1 MB / 1.327 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002021/0.4165, allocations: 0.6624 MB / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.4176, allocations: 0.867 MB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.4177, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.4177, allocations: 3.938 kB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.34e-05/0.4178, allocations: 3.938 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.418, allocations: 12 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.488e-05/0.4181, allocations: 27.86 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.4182, allocations: 11.98 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.269e-05/0.4182, allocations: 4 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.4183, allocations: 15.92 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.4183, allocations: 0 / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.205e-05/0.4183, allocations: 11.98 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.4184, allocations: 4 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.4184, allocations: 11.94 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.4185, allocations: 28.17 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4185, allocations: 0 / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4185, allocations: 3.938 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4185, allocations: 3.938 kB / 1.328 GB, free: 200 kB / 1.014 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.0004736/0.419, allocations: 258.3 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.419, allocations: 12.03 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.311e-05/0.4191, allocations: 4.188 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.4191, allocations: 30.75 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.4192, allocations: 4.938 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.4193, allocations: 114.4 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-06/0.4193, allocations: 384 / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.4193, allocations: 4.375 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4195, allocations: 53.98 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4195, allocations: 0 / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.4195, allocations: 4 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4195, allocations: 0 / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.4197, allocations: 35.95 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.42, allocations: 223.9 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.4201, allocations: 34.56 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.4202, allocations: 24.89 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.4202, allocations: 3.984 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.4203, allocations: 38.56 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4203, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003466/0.4206, allocations: 81.67 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4207, allocations: 55.44 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.4207, allocations: 101.9 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4208, allocations: 25.7 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.4208, allocations: 88.12 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.4208, allocations: 3.953 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.4209, allocations: 13.72 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.421, allocations: 310.8 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.4211, allocations: 19.98 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.4212, allocations: 19.97 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.4213, allocations: 40.77 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4213, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/0.4215, allocations: 73.66 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4215, allocations: 4 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4215, allocations: 4 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4215, allocations: 3.938 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.4216, allocations: 7.984 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4217, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.4217, allocations: 4 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.4217, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 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 9.222e-05/0.4218, allocations: 118.3 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.4218, allocations: 11.88 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.4221, allocations: 77.09 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4221, allocations: 3.984 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4221, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4221, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.4222, allocations: 128.7 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4222, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.021e-05/0.4223, allocations: 16.02 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4223, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.4223, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4223, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4223, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.4226, allocations: 163.5 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-06/0.4226, allocations: 4.031 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.4226, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.4227, allocations: 7.984 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.4227, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.4227, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.4228, allocations: 91.2 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4228, allocations: 0 / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002111/0.423, allocations: 4 kB / 1.331 GB, free: 13.63 MB / 1.029 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.0005565/0.4235, allocations: 0.6929 MB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.4237, allocations: 39.95 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4238, allocations: 4.094 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.4238, allocations: 19.92 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.4241, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.4246, allocations: 134 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.4249, allocations: 0.6768 MB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.021e-05/0.4249, allocations: 4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.4249, allocations: 15.5 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.4249, allocations: 3.938 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.4456, allocations: 1.41 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.53, allocations: 13.97 kB / 1.334 GB, free: 10.67 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.759855460957624]