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.001557/0.001557, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001799/0.001799, allocations: 216 kB / 22.26 MB, free: 5.113 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 8.031 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.845/2.845, allocations: 476.7 MB / 0.7707 GB, free: 4.344 MB / 0.6231 GB " [Timeout remaining time 176] 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.002066/0.002066, allocations: 65.11 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 170 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001829/0.3122, allocations: 0.6808 MB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3132, allocations: 0.8511 MB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.3132, allocations: 3.938 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.3132, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.3133, allocations: 7.938 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.3135, allocations: 11.98 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.425e-05/0.3135, allocations: 27.92 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.3136, allocations: 0 / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.3137, allocations: 15.97 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.3137, allocations: 11.94 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3137, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.202e-05/0.3138, allocations: 4 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.3138, allocations: 11.98 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.3138, allocations: 7.938 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.3139, allocations: 39.41 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3139, allocations: 3.938 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3139, allocations: 0 / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3139, allocations: 0 / 1.285 GB, free: 9.941 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.0004251/0.3144, allocations: 258.3 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3144, allocations: 12.03 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.3144, allocations: 30.75 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.3145, allocations: 4.938 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.3146, allocations: 110.5 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.3146, allocations: 8.312 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.3146, allocations: 12.38 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3148, allocations: 42.23 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3148, allocations: 7.938 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3148, allocations: 4 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-06/0.3148, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.315, allocations: 31.91 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.3153, allocations: 228 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.3155, allocations: 38.5 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.522e-05/0.3156, allocations: 16.91 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3156, allocations: 0 / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.3156, allocations: 38.55 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.3156, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003423/0.3159, allocations: 85.58 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.316, allocations: 51.41 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.3161, allocations: 101.8 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3161, allocations: 29.7 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.3161, allocations: 84.27 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.3161, allocations: 3.953 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.3162, allocations: 17.72 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3163, allocations: 318.8 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.3164, allocations: 15.98 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.3165, allocations: 15.98 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3166, allocations: 44.81 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3166, allocations: 3.938 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.3168, allocations: 61.67 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3168, allocations: 6.812 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3168, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3169, allocations: 4 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.3169, allocations: 11.98 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3169, allocations: 4.031 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.317, allocations: 7.984 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.317, allocations: 0 / 1.287 GB, free: 8.07 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 7.434e-05/0.3171, allocations: 113.8 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.3171, allocations: 3.953 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.3173, allocations: 72.91 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3173, allocations: 8.031 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3173, allocations: 0 / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3173, allocations: 0 / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.3175, allocations: 132.7 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3175, allocations: 0 / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.3175, allocations: 11.98 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3175, allocations: 3.938 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.3175, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3175, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3175, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.3178, allocations: 171.4 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.3178, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3178, allocations: 8 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.3179, allocations: 3.984 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.3179, allocations: 4 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3179, allocations: 32 / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.318, allocations: 87.28 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.318, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002148/0.3182, allocations: 4 kB / 1.287 GB, free: 7.387 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.0005495/0.3187, allocations: 0.6929 MB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.3189, allocations: 39.84 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3189, allocations: 4 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.319, allocations: 11.98 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3193, allocations: 11.98 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.3197, allocations: 143.9 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.32, allocations: 0.6768 MB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.32, allocations: 0 / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.32, allocations: 11.44 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3201, allocations: 0 / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.3469, allocations: 1.375 MB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.3, allocations: 8.734 kB / 1.29 GB, free: 4.453 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.185032841000066]