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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 103 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.89 kB / 1.104 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7875/0.7896, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002183/0.7918, allocations: 0.6114 MB / 1.269 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.793, allocations: 0.8097 MB / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.793, allocations: 0 / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.7931, allocations: 3.938 kB / 1.27 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.767e-05/0.7931, allocations: 7.984 kB / 1.27 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.7933, allocations: 15.86 kB / 1.27 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.789e-05/0.7934, allocations: 15.98 kB / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.7934, allocations: 3.938 kB / 1.27 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.214e-05/0.7935, allocations: 4 kB / 1.27 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.7936, allocations: 19.92 kB / 1.27 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.7936, allocations: 0 / 1.27 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.7936, allocations: 4 kB / 1.27 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.7936, allocations: 3.984 kB / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.7936, allocations: 7.938 kB / 1.27 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.557e-05/0.7937, allocations: 13.8 kB / 1.27 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7937, allocations: 4 kB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7937, allocations: 0 / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.7937, allocations: 3.938 kB / 1.27 GB, free: 3.605 MB / 0.9669 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.0004979/0.7942, allocations: 331.5 kB / 1.271 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.7943, allocations: 8.031 kB / 1.271 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.7943, allocations: 30.75 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.7943, allocations: 8.891 kB / 1.271 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.7945, allocations: 160.4 kB / 1.271 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.7945, allocations: 384 / 1.271 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.7945, allocations: 4.312 kB / 1.271 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.7947, allocations: 42.25 kB / 1.271 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.7947, allocations: 3.938 kB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.7947, allocations: 4 kB / 1.271 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.7947, allocations: 0 / 1.271 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.542e-05/0.7948, allocations: 11.98 kB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.7949, allocations: 153.7 kB / 1.271 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.946e-05/0.795, allocations: 22.56 kB / 1.271 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.7951, allocations: 20.86 kB / 1.271 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.7951, allocations: 4 kB / 1.271 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.7951, allocations: 34.56 kB / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.7951, allocations: 0 / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002113/0.7953, allocations: 53.61 kB / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.7954, allocations: 55.41 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.7955, allocations: 105.8 kB / 1.271 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.7955, allocations: 25.7 kB / 1.271 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.7955, allocations: 88.27 kB / 1.271 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.7956, allocations: 7.891 kB / 1.271 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.7956, allocations: 13.72 kB / 1.271 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7958, allocations: 310.8 kB / 1.272 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.975e-05/0.7958, allocations: 11.92 kB / 1.272 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.028e-05/0.7958, allocations: 12 kB / 1.272 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.285e-05/0.7959, allocations: 20.91 kB / 1.272 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7959, allocations: 3.938 kB / 1.272 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001124/0.796, allocations: 45.69 kB / 1.272 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.796, allocations: 7.938 kB / 1.272 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.796, allocations: 7.984 kB / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.7961, allocations: 0 / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.7961, allocations: 3.938 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7961, allocations: 0 / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.7962, allocations: 4 kB / 1.272 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.7962, allocations: 7.969 kB / 1.272 GB, free: 1.777 MB / 0.9669 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 9.094e-05/0.7962, allocations: 105.8 kB / 1.272 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.7963, allocations: 11.92 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.7963, allocations: 11.11 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7963, allocations: 0 / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7963, allocations: 0 / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.7963, allocations: 0 / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.7964, allocations: 149.7 kB / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7964, allocations: 0 / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.7965, allocations: 8 kB / 1.272 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7965, allocations: 3.938 kB / 1.272 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.7965, allocations: 3.984 kB / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.7965, allocations: 0 / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7965, allocations: 0 / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.7966, allocations: 73.08 kB / 1.272 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.7967, allocations: 81.11 kB / 1.272 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.7967, allocations: 7.969 kB / 1.272 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.373e-05/0.7967, allocations: 7.984 kB / 1.272 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.7968, allocations: 3.938 kB / 1.272 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7968, allocations: 256 / 1.272 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.7968, allocations: 83.28 kB / 1.272 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.7968, allocations: 0 / 1.272 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001795/0.797, allocations: 4 kB / 1.272 GB, free: 1.137 MB / 0.9669 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.0005568/0.7976, allocations: 0.6129 MB / 1.273 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.7977, allocations: 11.98 kB / 1.273 GB, free: 492 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7977, allocations: 0 / 1.273 GB, free: 492 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.7977, allocations: 19.92 kB / 1.273 GB, free: 472 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.7979, allocations: 3.953 kB / 1.273 GB, free: 472 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.7983, allocations: 150.2 kB / 1.273 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.7987, allocations: 0.6729 MB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.7987, allocations: 0 / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.7988, allocations: 15.36 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.7988, allocations: 3.938 kB / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.8218, allocations: 1.119 MB / 1.275 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.909, allocations: 9.531 kB / 1.275 GB, free: 14.53 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.850154902786016]