Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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.001755/0.001755, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.002247/0.002247, allocations: 197.2 kB / 20.08 MB, free: 3 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.442/1.442, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zeroCrossing.u|zeroCrossing.enable|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zeroCrossing.u|zeroCrossing.enable|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 68.12 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 160.7 MB / 1.214 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.002135/0.3374, allocations: 0.8125 MB / 1.215 GB, free: 100 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3391, allocations: 1.218 MB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.3392, allocations: 0 / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.3392, allocations: 11.88 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.3393, allocations: 19.84 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.3398, allocations: 155.3 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.3401, allocations: 147.7 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3402, allocations: 16.22 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.3403, allocations: 67.81 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3404, allocations: 63.8 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.3405, allocations: 16 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.883e-05/0.3406, allocations: 23.98 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.3406, allocations: 19.92 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.606e-05/0.3407, allocations: 63.75 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3409, allocations: 151.4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3409, allocations: 3.938 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3409, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3409, allocations: 0 / 1.217 GB, free: 14.12 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008081/0.3417, allocations: 452.8 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3418, allocations: 8.031 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/0.3418, allocations: 12.89 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.342, allocations: 176.2 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.342, allocations: 4.375 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.3421, allocations: 12.38 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.3424, allocations: 98.17 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3424, allocations: 4.188 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.3424, allocations: 7.922 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3424, allocations: 4 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.3428, allocations: 91.84 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.3434, allocations: 376.6 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.3437, allocations: 94.58 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.3439, allocations: 52.81 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.3439, allocations: 4 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.3443, allocations: 119.3 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.3443, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0007243/0.345, allocations: 213.4 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.3451, allocations: 59.41 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3452, allocations: 129.7 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.3452, allocations: 33.69 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.3453, allocations: 96.09 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.3453, allocations: 35.78 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.3454, allocations: 41.7 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3456, allocations: 330.8 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.3458, allocations: 75.94 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.3461, allocations: 122.2 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.3466, allocations: 185.6 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3466, allocations: 0 / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006942/0.3473, allocations: 271.2 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.829e-05/0.3474, allocations: 39.56 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3474, allocations: 0 / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3474, allocations: 4 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.3475, allocations: 23.92 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3475, allocations: 4 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.3478, allocations: 51.86 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.3478, allocations: 12 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,zeroCrossing.u_pos,$PRE.zeroCrossing.u_pos,zeroCrossing.disable,$PRE.zeroCrossing.disable,zeroCrossing.enable,$PRE.zeroCrossing.enable,zeroCrossing.y,booPul1.y,$PRE.booPul1.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001379/0.348, allocations: 129.7 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.348, allocations: 7.953 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.3485, allocations: 162 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3485, allocations: 7.984 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3485, allocations: 0 / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3485, allocations: 3.984 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.3492, allocations: 458.2 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3492, allocations: 0 / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3493, allocations: 23.97 kB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3493, allocations: 0 / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3493, allocations: 4 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3493, allocations: 3.938 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3493, allocations: 3.938 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.3498, allocations: 263.4 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.3499, allocations: 85.06 kB / 1.221 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3499, allocations: 3.984 kB / 1.221 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.35, allocations: 19.92 kB / 1.221 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.3501, allocations: 11.98 kB / 1.221 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3501, allocations: 7.984 kB / 1.221 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.798e-05/0.3502, allocations: 95.27 kB / 1.221 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3502, allocations: 0 / 1.221 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002903/0.3505, allocations: 32 kB / 1.221 GB, free: 9.266 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: 9 (zeroCrossing.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul1.y,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000203/0.3507, allocations: 115.1 kB / 1.221 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005925/0.3513, allocations: 215.2 kB / 1.221 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3513, allocations: 7.875 kB / 1.221 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.3515, allocations: 61.3 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3518, allocations: 19.92 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.3523, allocations: 236.9 kB / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.3526, allocations: 0.7001 MB / 1.222 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.3527, allocations: 19.44 kB / 1.222 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3527, allocations: 0 / 1.222 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of Templates: time 0.003841/0.3565, allocations: 1.643 MB / 1.224 GB, free: 6.191 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_ZeroCrossing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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: 10.237325235968456]