Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.013/2.013, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 195.1 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009822/0.0009822, allocations: 106.8 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 52.69 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2166, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001648/0.2183, allocations: 0.7381 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0005931/0.2189, allocations: 0.7884 MB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.2189, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.219, allocations: 3.938 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.219, allocations: 4 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.907e-05/0.2191, allocations: 4 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.97e-05/0.2191, allocations: 23.92 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.2192, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.2193, allocations: 11.98 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.73e-05/0.2193, allocations: 11.94 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.2193, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-06/0.2193, allocations: 4 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.2194, allocations: 3.984 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.2194, allocations: 15.88 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 5.348e-05/0.2194, allocations: 19.89 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.2195, allocations: 4 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.41e-07/0.2195, allocations: 0 / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.2195, allocations: 4 kB / 1.22 GB, free: 115.5 MB / 0.823 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.0003053/0.2198, allocations: 333.6 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.2198, allocations: 11.98 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.2198, allocations: 0.9375 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.096e-05/0.2199, allocations: 172.4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.2199, allocations: 4.375 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.2199, allocations: 384 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.2201, allocations: 54.17 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2201, allocations: 192 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.2201, allocations: 7.922 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2201, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.2202, allocations: 31.97 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.2205, allocations: 264.9 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.2206, allocations: 34.44 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.845e-05/0.2207, allocations: 20.91 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.2207, allocations: 0 / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.2207, allocations: 38.56 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.2207, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002706/0.221, allocations: 73.64 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.221, allocations: 51.41 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.813e-05/0.2211, allocations: 109.8 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.2211, allocations: 29.83 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.21e-05/0.2211, allocations: 84.08 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.2212, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.2212, allocations: 17.72 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.2212, allocations: 310.8 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-05/0.2213, allocations: 15.97 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-05/0.2214, allocations: 15.98 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.2215, allocations: 32.89 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2215, allocations: 3.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001446/0.2216, allocations: 69.5 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.2217, allocations: 5.25 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2217, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.2217, allocations: 3.969 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.2218, allocations: 23.97 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2218, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/0.2219, allocations: 11.98 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.2219, allocations: 4 kB / 1.221 GB, free: 113.5 MB / 0.823 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 3.846e-05/0.2219, allocations: 114.4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.222, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.222, allocations: 7.125 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.222, allocations: 4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.222, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.222, allocations: 3.984 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.988e-05/0.2221, allocations: 157.6 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2221, allocations: 0 / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.2222, allocations: 19.97 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2223, allocations: 4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.2223, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2223, allocations: 4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2223, allocations: 3.984 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.2226, allocations: 0.7123 MB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.2226, allocations: 89.05 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.2226, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.2227, allocations: 7.984 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.2227, allocations: 3.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.2227, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.838e-05/0.2228, allocations: 87.27 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.2228, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002777/0.2231, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 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 6.912e-05/0.2231, allocations: 99.25 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.2233, allocations: 35.91 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2233, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.2234, allocations: 15.97 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2236, allocations: 8 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.2238, allocations: 206.3 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.211e-05/0.2239, allocations: 0.6774 MB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.224, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.224, allocations: 11.44 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.224, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of Templates: time 0.001644/0.2256, allocations: 368.9 kB / 1.224 GB, free: 110.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)