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.001376/0.001376, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001613/0.001613, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 1.075/1.075, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.792/1.792, allocations: 359 MB / 0.6055 GB, free: 11 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: 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: Performance of FrontEnd - loaded program: time 4.298e-06/4.298e-06, allocations: 0 / 0.7871 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.357e-05/4.787e-05, allocations: 2.969 kB / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001711/0.001759, allocations: 0.6295 MB / 0.7877 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.002689, allocations: 0.8683 MB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.002728, allocations: 0 / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.002759, allocations: 5.562 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.002827, allocations: 3.938 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.003068, allocations: 8 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.613e-05/0.003154, allocations: 19.91 kB / 0.7886 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.00321, allocations: 5.219 kB / 0.7886 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.003409, allocations: 27.8 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.003466, allocations: 8 kB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.003483, allocations: 0.625 kB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.153e-05/0.003535, allocations: 5.406 kB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.003547, allocations: 3.984 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.003571, allocations: 0 / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.003701, allocations: 19.97 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.003707, allocations: 4.781 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003708, allocations: 0 / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.003713, allocations: 0.5625 kB / 0.7887 GB, free: 11.14 MB / 0.7448 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.0004384/0.004152, allocations: 356.6 kB / 0.789 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.004209, allocations: 12.72 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.004379, allocations: 9.828 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.00449, allocations: 108.6 kB / 0.7892 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.004505, allocations: 1.031 kB / 0.7892 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.004516, allocations: 384 / 0.7892 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.004643, allocations: 56.55 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.004656, allocations: 192 / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.004667, allocations: 384 / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.004677, allocations: 384 / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/0.004698, allocations: 9.531 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.00485, allocations: 108.7 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.004896, allocations: 27.06 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.004919, allocations: 11.73 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.004937, allocations: 4.844 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.004959, allocations: 33.39 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.00496, allocations: 7.344 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001541/0.005114, allocations: 33.66 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.005151, allocations: 55.41 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.975e-05/0.005241, allocations: 165.9 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.005252, allocations: 25.7 kB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.005303, allocations: 126.9 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.005334, allocations: 8 kB / 0.7898 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.005362, allocations: 15.38 kB / 0.7898 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.005481, allocations: 496.8 kB / 0.7903 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.005495, allocations: 4 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.005503, allocations: 0.9688 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.005537, allocations: 15.62 kB / 0.7903 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.005539, allocations: 0.7188 kB / 0.7903 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.015e-05/0.005589, allocations: 34.23 kB / 0.7904 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.005606, allocations: 5.375 kB / 0.7904 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.005612, allocations: 4 kB / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.005631, allocations: 7.922 kB / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.00571, allocations: 0 / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.005716, allocations: 1.156 kB / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.563e-05/0.005732, allocations: 7.938 kB / 0.7904 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.005738, allocations: 256 / 0.7904 GB, free: 9.227 MB / 0.7448 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 7.797e-05/0.005816, allocations: 153.5 kB / 0.7905 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-06/0.005824, allocations: 7.953 kB / 0.7905 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.005852, allocations: 7.641 kB / 0.7905 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.005855, allocations: 5.469 kB / 0.7905 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.00586, allocations: 0 / 0.7905 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.005867, allocations: 11.86 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.774e-05/0.005964, allocations: 112.6 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.005965, allocations: 1.344 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.005984, allocations: 7.984 kB / 0.7907 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.005986, allocations: 0 / 0.7907 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.005994, allocations: 3.438 kB / 0.7907 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005994, allocations: 0 / 0.7907 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.005996, allocations: 0 / 0.7907 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.764e-05/0.006073, allocations: 72.39 kB / 0.7907 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.006082, allocations: 3.984 kB / 0.7908 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.006094, allocations: 4 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-06/0.006103, allocations: 0 / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.00614, allocations: 0 / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.006142, allocations: 0 / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.006181, allocations: 128 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006181, allocations: 0 / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001242/0.006305, allocations: 7.938 kB / 0.7909 GB, free: 8.648 MB / 0.7448 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.0001038/0.006409, allocations: 100.2 kB / 0.791 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.631e-05/0.006496, allocations: 13.62 kB / 0.791 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.006497, allocations: 4 kB / 0.791 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/0.006512, allocations: 7.688 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.006637, allocations: 0.5625 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.007218, allocations: 131.8 kB / 0.7911 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.007253, allocations: 55.3 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.901e-05/0.007272, allocations: 1.062 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.007301, allocations: 16.44 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of SimCode: time 1.302e-06/0.007302, allocations: 0.5312 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of Templates: time 0.002128/0.00943, allocations: 305.4 kB / 0.7915 GB, free: 7.973 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.257524063112214]