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.001361/0.001361, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001542/0.001542, allocations: 220 kB / 22.25 MB, free: 5.102 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.809 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.266/3.266, allocations: 0.49 GB / 0.7951 GB, free: 35.51 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",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.002016/0.002016, allocations: 67.23 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3716, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002036/0.3736, allocations: 0.6704 MB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3747, allocations: 0.8475 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.3748, allocations: 4 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.3748, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.3749, allocations: 3.938 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.3751, allocations: 12 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.813e-05/0.3752, allocations: 31.91 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3753, allocations: 11.98 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.3753, allocations: 7.938 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.3754, allocations: 7.984 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.3754, allocations: 4 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.3754, allocations: 4 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.3754, allocations: 7.938 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.3755, allocations: 8 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.3756, allocations: 32.09 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3756, allocations: 7.938 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3756, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.3756, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 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.376, allocations: 258.3 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3761, allocations: 12.03 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.3761, allocations: 30.75 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.8e-05/0.3762, allocations: 4.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3763, allocations: 106.5 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.3763, allocations: 384 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3764, allocations: 8.375 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3765, allocations: 42.23 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3765, allocations: 7.938 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3765, allocations: 11.98 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3766, allocations: 0 / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.3767, allocations: 35.89 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.3771, allocations: 219.9 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.3772, allocations: 38.53 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.623e-05/0.3773, allocations: 24.91 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3773, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3774, allocations: 34.56 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3774, allocations: 0 / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003858/0.3778, allocations: 85.52 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.3778, allocations: 55.41 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.3779, allocations: 105.8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3779, allocations: 25.7 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.378, allocations: 84.27 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.378, allocations: 3.953 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.378, allocations: 17.72 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3782, allocations: 310.8 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.3782, allocations: 19.97 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.3783, allocations: 15.98 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.3785, allocations: 44.83 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3785, allocations: 3.938 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000208/0.3787, allocations: 65.66 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3787, allocations: 4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3787, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3787, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/0.3788, allocations: 11.98 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3788, allocations: 0 / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.3789, allocations: 12.02 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.3789, allocations: 4 kB / 1.329 GB, free: 13.94 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 7.979e-05/0.379, allocations: 110.3 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.379, allocations: 7.953 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.3792, allocations: 72.91 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3792, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3792, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3793, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.3794, allocations: 128.7 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3794, allocations: 0 / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.3795, allocations: 11.98 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3795, allocations: 0 / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.3795, allocations: 4 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3795, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3795, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.3797, allocations: 167.4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.3798, allocations: 4.031 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3798, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.3799, allocations: 11.92 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.3799, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.3799, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.395e-05/0.3799, allocations: 79.28 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3799, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002194/0.3802, allocations: 4 kB / 1.33 GB, free: 13.26 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.0005921/0.3808, allocations: 0.7045 MB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.381, allocations: 35.91 kB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.381, allocations: 0 / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.264e-05/0.3811, allocations: 23.97 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.3814, allocations: 1.875 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.3818, allocations: 146.1 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.121e-05/0.3819, allocations: 59.67 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.361e-05/0.3819, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.3819, allocations: 7.438 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3819, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.4111, allocations: 1.834 MB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.68, allocations: 6.828 kB / 1.332 GB, free: 10.49 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.418471316981595]