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.0008129/0.0008129, 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.001073/0.001073, allocations: 170.3 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.9266/0.9266, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.708/1.708, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 4.028e-06/4.028e-06, allocations: 0 / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.682e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001424/0.001451, allocations: 0.6678 MB / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.002246, allocations: 0.847 MB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.002279, allocations: 0 / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.002307, allocations: 0 / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.002367, allocations: 0 / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.002556, allocations: 19.92 kB / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.996e-05/0.002626, allocations: 31.91 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.002717, allocations: 0 / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.002785, allocations: 15.92 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.002821, allocations: 8 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.002837, allocations: 4 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.138e-05/0.002878, allocations: 4 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.002893, allocations: 3.984 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.002911, allocations: 4 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.003012, allocations: 31.89 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003015, allocations: 4 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003016, allocations: 0 / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.00302, allocations: 0 / 0.9522 GB, free: 1.781 MB / 0.9011 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.0003393/0.003359, allocations: 266.3 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.003401, allocations: 12.02 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.003431, allocations: 34.75 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.003496, allocations: 8.891 kB / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.003573, allocations: 105.8 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.003582, allocations: 4.312 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.003591, allocations: 4.312 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.003714, allocations: 54.23 kB / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.003721, allocations: 192 / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.003729, allocations: 384 / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.003734, allocations: 4.125 kB / 0.9526 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.846e-05/0.003823, allocations: 39.94 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.004082, allocations: 208.1 kB / 0.9529 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.806e-05/0.00416, allocations: 42.48 kB / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.004206, allocations: 28.91 kB / 0.9529 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.004223, allocations: 0 / 0.9529 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.004246, allocations: 34.5 kB / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.004247, allocations: 0 / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002119/0.004459, allocations: 81.64 kB / 0.953 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.004488, allocations: 51.41 kB / 0.9531 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.004548, allocations: 105.9 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.004557, allocations: 29.7 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.004592, allocations: 88.09 kB / 0.9533 GB, free: 440 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.004607, allocations: 3.938 kB / 0.9533 GB, free: 436 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.004631, allocations: 17.66 kB / 0.9533 GB, free: 412 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.004705, allocations: 314.8 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.041e-05/0.004746, allocations: 15.97 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/0.00478, allocations: 19.98 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.559e-05/0.004856, allocations: 40.89 kB / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.004858, allocations: 0 / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001099/0.004968, allocations: 69.55 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.00498, allocations: 8 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.004985, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.004996, allocations: 3.938 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.005055, allocations: 7.984 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.00506, allocations: 4.031 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.005081, allocations: 4 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.005086, allocations: 4 kB / 0.9538 GB, free: 15.9 MB / 0.9167 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 5.04e-05/0.005136, allocations: 113.8 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.005148, allocations: 3.938 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.005425, allocations: 68.97 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.005428, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.005434, allocations: 4.031 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.005437, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.005558, allocations: 124.8 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.00556, allocations: 0 / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.00561, allocations: 11.98 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.005616, allocations: 7.875 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.005622, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.005625, allocations: 3.938 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.005627, allocations: 0 / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.00577, allocations: 171.5 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.00578, allocations: 7.891 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.005791, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.005872, allocations: 7.984 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.005906, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.005911, allocations: 4 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.005944, allocations: 79.28 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005944, allocations: 4 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001493/0.006093, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 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.000353/0.006446, allocations: 0.7045 MB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.006583, allocations: 39.97 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.006585, allocations: 0 / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.006622, allocations: 11.98 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.006872, allocations: 17.89 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.007234, allocations: 138.4 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.00728, allocations: 63.34 kB / 0.9553 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.199e-05/0.007302, allocations: 0 / 0.9553 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.007335, allocations: 8.5 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of SimCode: time 1.232e-06/0.007337, allocations: 0 / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.02272, allocations: 1.939 MB / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/6.607, allocations: 6.469 kB / 0.9572 GB, free: 12.35 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.851914158090949]