Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001869/0.001869, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002444/0.002444, allocations: 214.6 kB / 22.25 MB, free: 4.859 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.859/2.859, allocations: 476 MB / 0.7699 GB, free: 4.707 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_11_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.002186/0.002186, allocations: 67.59 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3082, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002013/0.3102, allocations: 0.6762 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3114, allocations: 0.8433 MB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.3114, allocations: 0 / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.3115, allocations: 3.938 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.3115, allocations: 4 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.3117, allocations: 15.92 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.684e-05/0.3118, allocations: 19.98 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.3119, allocations: 4 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.312, allocations: 23.84 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.67e-05/0.312, allocations: 0 / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.312, allocations: 4 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/0.3121, allocations: 12 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.3121, allocations: 7.922 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.3121, allocations: 8 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.3122, allocations: 33.09 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3122, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.568e-06/0.3122, allocations: 4 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3122, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 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.0004908/0.3127, allocations: 258.3 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3127, allocations: 12.03 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.3128, allocations: 30.75 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.3129, allocations: 0.9375 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.313, allocations: 114.5 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.313, allocations: 384 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.313, allocations: 4.375 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3132, allocations: 54.17 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3132, allocations: 3.938 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.3132, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3132, allocations: 4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.3134, allocations: 27.97 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.3137, allocations: 216 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.3139, allocations: 46.44 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.894e-05/0.314, allocations: 20.91 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.314, allocations: 3.984 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.314, allocations: 30.56 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.314, allocations: 3.938 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003401/0.3144, allocations: 81.64 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3144, allocations: 55.47 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.3145, allocations: 105.9 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3145, allocations: 25.7 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.3146, allocations: 84.08 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.3146, allocations: 11.94 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.3146, allocations: 17.66 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3148, allocations: 310.8 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.3148, allocations: 19.98 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.3149, allocations: 11.98 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3151, allocations: 44.88 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3151, allocations: 3.938 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/0.3153, allocations: 65.66 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3153, allocations: 8 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3153, allocations: 0 / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3153, allocations: 0 / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.3154, allocations: 12.03 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.3154, allocations: 3.938 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.3154, allocations: 7.984 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.3154, allocations: 0 / 1.286 GB, free: 8.887 MB / 0.9825 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.628e-05/0.3155, allocations: 109.8 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.3155, allocations: 8.141 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.3158, allocations: 76.94 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3158, allocations: 32 / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.3158, allocations: 8 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3158, allocations: 0 / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3159, allocations: 132.7 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3159, allocations: 0 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.316, allocations: 4 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.316, allocations: 0 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.316, allocations: 0 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.316, allocations: 4 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.316, allocations: 3.938 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.3163, allocations: 167.5 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.3163, allocations: 3.984 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.3163, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.3164, allocations: 4 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.3164, allocations: 11.92 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3164, allocations: 0 / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.3164, allocations: 79.28 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3164, allocations: 0 / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002155/0.3167, allocations: 11.94 kB / 1.286 GB, free: 8.203 MB / 0.9825 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.0006043/0.3173, allocations: 0.6968 MB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.3175, allocations: 35.95 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3175, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.3176, allocations: 15.98 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3179, allocations: 8.156 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.3183, allocations: 143.8 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.73e-05/0.3184, allocations: 59.36 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.3184, allocations: 0 / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.3184, allocations: 7.438 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3184, allocations: 0 / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.3468, allocations: 1.803 MB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.82, allocations: 6 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sin1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv. Warning: Get data of variable sin1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.793450103141367]