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.001745/0.001745, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002074/0.002074, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.781 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.971/2.971, allocations: 475.9 MB / 0.7699 GB, free: 4.754 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [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.002222/0.002222, allocations: 67.48 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4216, allocations: 170 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001973/0.4236, allocations: 0.6163 MB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.4247, allocations: 0.8395 MB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.4247, allocations: 0 / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.4247, allocations: 7.922 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.4248, allocations: 0 / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.425, allocations: 11.94 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.4251, allocations: 19.92 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.4251, allocations: 0 / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.4253, allocations: 27.91 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.4253, allocations: 4 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.4253, allocations: 4 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.505e-05/0.4254, allocations: 4 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.4254, allocations: 3.938 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.4254, allocations: 11.94 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.4255, allocations: 23.89 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4255, allocations: 3.938 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4255, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4256, allocations: 0 / 1.285 GB, free: 10.34 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.0004491/0.426, allocations: 254.3 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.426, allocations: 8.031 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.4262, allocations: 16.92 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.4263, allocations: 110.5 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4263, allocations: 384 / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.4264, allocations: 384 / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.4265, allocations: 34.25 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.4265, allocations: 192 / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4265, allocations: 3.938 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4265, allocations: 0 / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-05/0.4266, allocations: 23.92 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.4267, allocations: 105.3 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.577e-05/0.4268, allocations: 26.61 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.4269, allocations: 12.91 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.4269, allocations: 0 / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.4269, allocations: 30.56 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.4269, allocations: 4 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002194/0.4271, allocations: 57.55 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4272, allocations: 55.41 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4273, allocations: 106 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.4273, allocations: 25.7 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.4273, allocations: 88.14 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.4274, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.4274, allocations: 13.7 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4275, allocations: 314.8 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/0.4276, allocations: 8 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/0.4276, allocations: 7.984 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.836e-05/0.4277, allocations: 16.84 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4277, allocations: 4.062 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001097/0.4278, allocations: 53.58 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4278, allocations: 8 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4278, allocations: 3.938 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4278, allocations: 3.938 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.4279, allocations: 7.984 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4279, allocations: 0 / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.4279, allocations: 0 / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.4279, allocations: 0 / 1.286 GB, free: 8.785 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.182e-05/0.428, allocations: 115 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.428, allocations: 4 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.538e-05/0.428, allocations: 3.156 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.4281, allocations: 7.938 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4281, allocations: 0 / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.4281, allocations: 3.938 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.202e-05/0.4282, allocations: 105.2 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4282, allocations: 0 / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.4282, allocations: 0 / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.4282, allocations: 11.97 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.4282, allocations: 4 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4282, allocations: 0 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4282, allocations: 3.938 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.4283, allocations: 73.06 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.4283, allocations: 4 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.4284, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.929e-05/0.4284, allocations: 3.984 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.4284, allocations: 7.938 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-06/0.4284, allocations: 0 / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.4285, allocations: 83.53 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4285, allocations: 4.031 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001892/0.4287, allocations: 8 kB / 1.286 GB, free: 8.297 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.0001232/0.4288, allocations: 95.23 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.4289, allocations: 15.98 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4289, allocations: 0 / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.429, allocations: 11.94 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.4291, allocations: 5.672 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.4294, allocations: 102.9 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.766e-05/0.4294, allocations: 67.28 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.4295, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.4295, allocations: 7.438 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.4295, allocations: 0 / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of Templates: time 0.002524/0.432, allocations: 297.7 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.472649389877915]