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.001813/0.001813, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002507/0.002507, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.608/1.608, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.087/3.087, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.002017/0.002017, allocations: 67.91 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9776/0.9796, allocations: 176.1 MB / 1.322 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00207/0.9817, allocations: 0.6831 MB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009963/0.9827, allocations: 0.858 MB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.9827, allocations: 0 / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.9827, allocations: 0 / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.9828, allocations: 3.938 kB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.983, allocations: 10.22 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.9831, allocations: 34.02 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.9832, allocations: 6.812 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.9833, allocations: 10.2 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.9833, allocations: 10.62 kB / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.9833, allocations: 2.75 kB / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.447e-05/0.9834, allocations: 12.75 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.9834, allocations: 0 / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.9834, allocations: 10.69 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.9835, allocations: 25.59 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9835, allocations: 3.938 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9835, allocations: 0 / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.9835, allocations: 4 kB / 1.323 GB, free: 23.6 MB / 1.061 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.0004494/0.984, allocations: 339.4 kB / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.984, allocations: 17.58 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.996e-05/0.9841, allocations: 192 / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.143e-05/0.9841, allocations: 37.59 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.9842, allocations: 0.9375 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.9843, allocations: 167 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.9843, allocations: 4.375 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.9843, allocations: 2.938 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.9845, allocations: 59.89 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.9845, allocations: 0 / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.9845, allocations: 0 / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.9845, allocations: 0 / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.9847, allocations: 36.02 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.985, allocations: 253.4 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.9851, allocations: 32.28 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.043e-05/0.9852, allocations: 26.2 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.9852, allocations: 0 / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.9852, allocations: 30.56 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.9852, allocations: 4 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000328/0.9856, allocations: 85.19 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.9856, allocations: 57.94 kB / 1.324 GB, free: 22.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/0.9856, allocations: 92.58 kB / 1.324 GB, free: 22.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.9856, allocations: 28.58 kB / 1.324 GB, free: 22.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.9857, allocations: 91.41 kB / 1.324 GB, free: 22.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.9857, allocations: 8.078 kB / 1.324 GB, free: 22.24 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.9857, allocations: 12.66 kB / 1.324 GB, free: 22.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.9858, allocations: 314.8 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.9858, allocations: 18.09 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.836e-05/0.9859, allocations: 19.31 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.9861, allocations: 50.03 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.9861, allocations: 3.938 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001696/0.9862, allocations: 62.34 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.9862, allocations: 5.219 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.9862, allocations: 3.375 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.9863, allocations: 0 / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.9863, allocations: 7.938 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.9863, allocations: 4.031 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.9864, allocations: 5.922 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.9864, allocations: 2.562 kB / 1.325 GB, free: 21.84 MB / 1.061 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 4.388e-05/0.9864, allocations: 109.8 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.9865, allocations: 13.83 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.9867, allocations: 72.03 kB / 1.325 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9867, allocations: 7.312 kB / 1.325 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.9867, allocations: 0 / 1.325 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9867, allocations: 0 / 1.325 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.9868, allocations: 158.3 kB / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.9868, allocations: 0 / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.9868, allocations: 8.375 kB / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9868, allocations: 2.781 kB / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.9868, allocations: 0 / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9868, allocations: 7.312 kB / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9868, allocations: 0 / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.9871, allocations: 168.5 kB / 1.325 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.9871, allocations: 79.67 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.9871, allocations: 0 / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.9872, allocations: 6.062 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.9872, allocations: 6.031 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.9872, allocations: 0 / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.495e-05/0.9872, allocations: 85.84 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9872, allocations: 0 / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002247/0.9875, allocations: 5.625 kB / 1.326 GB, free: 21.14 MB / 1.061 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.000448/0.9879, allocations: 0.6994 MB / 1.326 GB, free: 20.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.9881, allocations: 39.52 kB / 1.326 GB, free: 20.45 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9881, allocations: 0 / 1.326 GB, free: 20.45 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.9882, allocations: 21.86 kB / 1.326 GB, free: 20.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.9885, allocations: 5.75 kB / 1.326 GB, free: 20.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.989, allocations: 137 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.9892, allocations: 0.6775 MB / 1.327 GB, free: 19.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.9892, allocations: 3.906 kB / 1.327 GB, free: 19.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.9892, allocations: 11.44 kB / 1.327 GB, free: 19.59 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.9892, allocations: 2.562 kB / 1.327 GB, free: 19.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/1.006, allocations: 1.311 MB / 1.328 GB, free: 19.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.504/9.51, allocations: 17.19 kB / 1.329 GB, free: 19.19 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.342758622020483]