Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01058/0.01058, allocations: 101.1 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00219/0.00219, allocations: 198.8 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.806/1.806, allocations: 251.7 MB / 0.5094 GB, free: 2.961 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 74.34 kB / 0.7258 GB, free: 8.941 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2836, allocations: 104.7 MB / 0.8281 GB, free: 128 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.002888/0.2866, allocations: 1.368 MB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003457/0.2869, allocations: 104.9 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.287, allocations: 4 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.287, allocations: 7.984 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.603e-05/0.2871, allocations: 7.938 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.971e-05/0.2872, allocations: 0 / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.602e-05/0.2873, allocations: 23.92 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2874, allocations: 8 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.2875, allocations: 11.92 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.2875, allocations: 11.98 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2875, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-06/0.2876, allocations: 4 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.2876, allocations: 11.98 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.2876, allocations: 3.938 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.219e-05/0.2877, allocations: 23.91 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2877, allocations: 3.938 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.666e-06/0.2877, allocations: 4 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2877, allocations: 0 / 0.8297 GB, free: 14.52 MB / 0.6544 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.0005454/0.2883, allocations: 335.4 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.2883, allocations: 8.031 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.2884, allocations: 4.938 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.2886, allocations: 172.3 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2886, allocations: 4.375 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.2886, allocations: 384 / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.2888, allocations: 54.17 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2888, allocations: 192 / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2888, allocations: 3.938 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2888, allocations: 4 kB / 0.8302 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.289, allocations: 27.97 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.2895, allocations: 261 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.2896, allocations: 34.44 kB / 0.8305 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.2897, allocations: 20.91 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.2897, allocations: 0 / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.2897, allocations: 34.56 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2897, allocations: 7.938 kB / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0003506/0.2901, allocations: 69.64 kB / 0.8307 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.2901, allocations: 51.41 kB / 0.8307 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.2902, allocations: 109.8 kB / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.2903, allocations: 29.83 kB / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.2903, allocations: 80.14 kB / 0.8309 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.2904, allocations: 3.906 kB / 0.8309 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.2904, allocations: 17.72 kB / 0.8309 GB, free: 13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2906, allocations: 310.8 kB / 0.8312 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-05/0.2906, allocations: 15.97 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.2907, allocations: 15.98 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.2908, allocations: 32.89 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2909, allocations: 3.938 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001719/0.291, allocations: 61.66 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2911, allocations: 8 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.2911, allocations: 0 / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2911, allocations: 3.938 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.2913, allocations: 24 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2913, allocations: 0 / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.2913, allocations: 7.984 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2914, allocations: 4 kB / 0.8314 GB, free: 12.51 MB / 0.6544 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 0.0001159/0.2915, allocations: 117.7 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.2915, allocations: 0 / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.2915, allocations: 11.06 kB / 0.8315 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2916, allocations: 4 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.2916, allocations: 3.984 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.2916, allocations: 4.188 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.2918, allocations: 157.6 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2918, allocations: 3.984 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.2919, allocations: 23.97 kB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2919, allocations: 0 / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2919, allocations: 0 / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2919, allocations: 7.984 kB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.292, allocations: 0 / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.2922, allocations: 163.3 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.2923, allocations: 77.11 kB / 0.832 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.2923, allocations: 11.92 kB / 0.832 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.2923, allocations: 0 / 0.832 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.2924, allocations: 8.031 kB / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.2924, allocations: 0 / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.2925, allocations: 83.27 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2925, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002027/0.2927, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 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.0002003/0.2929, allocations: 99.25 kB / 0.8321 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.2931, allocations: 39.95 kB / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2931, allocations: 0 / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.2932, allocations: 15.98 kB / 0.8322 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.2935, allocations: 7.938 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.2938, allocations: 101.6 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2942, allocations: 0.6766 MB / 0.833 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.2942, allocations: 8.125 kB / 0.833 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.2942, allocations: 11.42 kB / 0.833 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.2942, allocations: 0 / 0.833 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.003042/0.2973, allocations: 422.1 kB / 0.8334 GB, free: 10.32 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)