Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008443/0.0008443, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000846/0.000846, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9113/0.9113, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.727/1.727, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.711e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001383/0.0014, allocations: 0.6717 MB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007461/0.002146, allocations: 0.8277 MB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.00218, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.002206, allocations: 3.938 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/0.002265, allocations: 7.922 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.002452, allocations: 19.81 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.252e-05/0.002525, allocations: 31.91 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.002615, allocations: 8 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.765e-05/0.002682, allocations: 11.98 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/0.002715, allocations: 7.984 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.002728, allocations: 4 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.116e-05/0.00277, allocations: 4 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.002784, allocations: 7.938 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.677e-05/0.0028, allocations: 4 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.471e-05/0.002895, allocations: 27.94 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002897, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002898, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.002902, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 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.0003166/0.003219, allocations: 270.3 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.003258, allocations: 8.75 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.799e-05/0.003286, allocations: 34.75 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.003344, allocations: 0.9375 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.217e-05/0.003416, allocations: 113.8 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.003426, allocations: 384 / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.003434, allocations: 4.312 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.003556, allocations: 50.19 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.003564, allocations: 4.172 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.003572, allocations: 4.375 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.003577, allocations: 4.125 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.607e-05/0.003663, allocations: 31.97 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.003922, allocations: 216 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.003997, allocations: 38.5 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.00404, allocations: 20.91 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.004057, allocations: 4 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.004075, allocations: 38.48 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.004076, allocations: 0 / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002025/0.004279, allocations: 77.66 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.004306, allocations: 51.41 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.501e-05/0.004361, allocations: 105.8 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.004373, allocations: 29.64 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.004401, allocations: 80.14 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.004415, allocations: 8.078 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.004443, allocations: 17.72 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.004511, allocations: 314.8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.00455, allocations: 15.98 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.004584, allocations: 15.98 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.53e-05/0.004659, allocations: 44.81 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.004661, allocations: 8 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.105e-05/0.004752, allocations: 61.61 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.004765, allocations: 8 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.004769, allocations: 0 / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.00478, allocations: 0 / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.004839, allocations: 15.92 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.004844, allocations: 0 / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.004865, allocations: 7.984 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.00487, allocations: 8.031 kB / 1.003 GB, free: 9.918 MB / 0.9636 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.691e-05/0.004917, allocations: 105.8 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.004928, allocations: 3.938 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.00505, allocations: 76.92 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.005052, allocations: 192 / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.005056, allocations: 3.938 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.005061, allocations: 7.969 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.005162, allocations: 124.7 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005163, allocations: 8.031 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.005187, allocations: 7.984 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.005189, allocations: 3.938 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.005195, allocations: 0 / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.005196, allocations: 0 / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005196, allocations: 7.938 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.00531, allocations: 155.5 kB / 1.003 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-06/0.005315, allocations: 3.938 kB / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.005325, allocations: 4.031 kB / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.005362, allocations: 7.984 kB / 1.003 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.005394, allocations: 4 kB / 1.003 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005396, allocations: 4 kB / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.005421, allocations: 83.27 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005421, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001349/0.005555, allocations: 4 kB / 1.004 GB, free: 9.234 MB / 0.9636 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.0002811/0.005836, allocations: 0.6975 MB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.005953, allocations: 35.95 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005954, allocations: 0 / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.712e-05/0.005991, allocations: 19.98 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.006189, allocations: 4 kB / 1.004 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.006508, allocations: 138.6 kB / 1.004 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.006554, allocations: 63.34 kB / 1.004 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.69e-05/0.006571, allocations: 0 / 1.004 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.006603, allocations: 12.5 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.006604, allocations: 3.938 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.02241, allocations: 1.955 MB / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.847/6.869, allocations: 10.09 kB / 1.006 GB, free: 6.352 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv. Warning: Get data of variable sin1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.996129210107028]