Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.001773/0.001773, allocations: 106 kB / 16.45 MB, free: 6.453 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.002155/0.002155, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.462/1.462, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.75/2.75, allocations: 476.7 MB / 0.7672 GB, free: 5.23 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.Sources.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_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.002073/0.002073, allocations: 75.88 kB / 1.112 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8225, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001836/0.8243, allocations: 0.6075 MB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.8253, allocations: 0.8451 MB / 1.28 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.8253, allocations: 0 / 1.28 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.8253, allocations: 4 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.8254, allocations: 3.938 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.8256, allocations: 11.97 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.586e-05/0.8257, allocations: 23.92 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.8257, allocations: 4 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.8258, allocations: 15.88 kB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.8259, allocations: 11.98 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.8259, allocations: 0 / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.291e-05/0.8259, allocations: 8 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.8259, allocations: 7.922 kB / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.826, allocations: 15.94 kB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.8261, allocations: 21.73 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8261, allocations: 0 / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8261, allocations: 4 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.8261, allocations: 0 / 1.28 GB, free: 11.81 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004135/0.8265, allocations: 327.4 kB / 1.28 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.8265, allocations: 8.031 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.8266, allocations: 30.75 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.8267, allocations: 20.92 kB / 1.28 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.8269, allocations: 176.3 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.8269, allocations: 384 / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.8269, allocations: 4.359 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.827, allocations: 30.27 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.827, allocations: 3.938 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.827, allocations: 3.984 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.827, allocations: 0 / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.681e-05/0.8271, allocations: 15.98 kB / 1.28 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.8273, allocations: 157.7 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.216e-05/0.8273, allocations: 26.53 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.8274, allocations: 12.92 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.8274, allocations: 0 / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.8274, allocations: 34.55 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.8274, allocations: 0 / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002114/0.8276, allocations: 57.62 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.8277, allocations: 55.34 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/0.8278, allocations: 105.8 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.8278, allocations: 25.7 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.8278, allocations: 88.08 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.8279, allocations: 0 / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.8279, allocations: 13.72 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.8281, allocations: 319 kB / 1.281 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.8281, allocations: 8 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.8281, allocations: 4 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.205e-05/0.8282, allocations: 20.84 kB / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8282, allocations: 0 / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001137/0.8283, allocations: 53.72 kB / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.8283, allocations: 11.94 kB / 1.281 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8283, allocations: 0 / 1.281 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.8284, allocations: 0 / 1.281 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.8284, allocations: 7.938 kB / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8284, allocations: 0 / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.8285, allocations: 0 / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.8285, allocations: 7.938 kB / 1.281 GB, free: 9.977 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 (1): * Single equations (assignments): 1 * 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.522e-05/0.8285, allocations: 115.8 kB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.8286, allocations: 3.938 kB / 1.282 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.8286, allocations: 7.125 kB / 1.282 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.8286, allocations: 4 kB / 1.282 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.8286, allocations: 0 / 1.282 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.8286, allocations: 0 / 1.282 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.8287, allocations: 153.7 kB / 1.282 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8287, allocations: 256 / 1.282 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.8287, allocations: 7.984 kB / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.8288, allocations: 7.938 kB / 1.282 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.8288, allocations: 0 / 1.282 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.8288, allocations: 0 / 1.282 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8288, allocations: 4 kB / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.8289, allocations: 65.12 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.8289, allocations: 81.05 kB / 1.282 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.829, allocations: 7.938 kB / 1.282 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.917e-05/0.829, allocations: 7.922 kB / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.829, allocations: 0 / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.829, allocations: 32 / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.8291, allocations: 87.28 kB / 1.282 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8291, allocations: 0 / 1.282 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001739/0.8292, allocations: 4 kB / 1.282 GB, free: 9.332 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 (1): * Single equations (assignments): 1 * 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.0005025/0.8297, allocations: 0.6129 MB / 1.283 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.8299, allocations: 23.92 kB / 1.283 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8299, allocations: 0 / 1.283 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.8299, allocations: 7.984 kB / 1.283 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.83, allocations: 0 / 1.283 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.8304, allocations: 136.3 kB / 1.283 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.8308, allocations: 0.6807 MB / 1.283 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.8308, allocations: 3.984 kB / 1.283 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.8308, allocations: 11.44 kB / 1.283 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.8308, allocations: 0 / 1.283 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.8581, allocations: 1.136 MB / 1.284 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/9.207, allocations: 11.84 kB / 1.285 GB, free: 6.719 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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: 15.36161676584743]