Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001423/0.001423, allocations: 103.5 kB / 16.45 MB, free: 6.445 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.001756/0.001756, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 3.758 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.688/2.688, allocations: 443.5 MB / 0.7287 GB, free: 14.55 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 1.056 GB, free: 2.508 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.322, allocations: 160.7 MB / 1.213 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001931/0.3239, allocations: 0.693 MB / 1.214 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3254, allocations: 1.215 MB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.3255, allocations: 4 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.3255, allocations: 0 / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.826e-05/0.3256, allocations: 11.88 kB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.3262, allocations: 223 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.3265, allocations: 175.7 kB / 1.215 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.3266, allocations: 11.98 kB / 1.215 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3267, allocations: 67.88 kB / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.3268, allocations: 67.8 kB / 1.215 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.3269, allocations: 16 kB / 1.215 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.3269, allocations: 35.97 kB / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.327, allocations: 11.98 kB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.327, allocations: 51.83 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.3273, allocations: 155.8 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3273, allocations: 4 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3273, allocations: 0 / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3273, allocations: 0 / 1.216 GB, free: 14.74 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005846/0.3279, allocations: 442.6 kB / 1.216 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3279, allocations: 12.03 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.3279, allocations: 46.67 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.328, allocations: 16.83 kB / 1.216 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3281, allocations: 168.3 kB / 1.216 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3282, allocations: 4.375 kB / 1.216 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.3282, allocations: 12.12 kB / 1.216 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.3283, allocations: 53.67 kB / 1.216 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3283, allocations: 0 / 1.216 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3283, allocations: 0 / 1.216 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3283, allocations: 0 / 1.216 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.82e-05/0.3284, allocations: 19.98 kB / 1.216 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.3289, allocations: 368.6 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.329, allocations: 26.58 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.329, allocations: 20.94 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-06/0.329, allocations: 0 / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.3292, allocations: 95.25 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3292, allocations: 0 / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002817/0.3295, allocations: 125.5 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.3296, allocations: 59.41 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3297, allocations: 117.8 kB / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.3297, allocations: 29.7 kB / 1.217 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.3298, allocations: 96.36 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3298, allocations: 19.84 kB / 1.217 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.525e-05/0.3299, allocations: 61.62 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.33, allocations: 326.8 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3302, allocations: 55.97 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.3303, allocations: 106 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.3305, allocations: 189.3 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3306, allocations: 4 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004604/0.331, allocations: 285 kB / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.078e-05/0.3311, allocations: 71.77 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3311, allocations: 0 / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3311, allocations: 4 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.3311, allocations: 11.92 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3312, allocations: 3.938 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.3315, allocations: 55.88 kB / 1.218 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.3315, allocations: 19.97 kB / 1.218 GB, free: 11.55 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001136/0.3316, allocations: 125.8 kB / 1.218 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.3316, allocations: 11.95 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.3317, allocations: 4.375 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3317, allocations: 4 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3317, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3317, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.332, allocations: 362.4 kB / 1.219 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.332, allocations: 4 kB / 1.219 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-06/0.332, allocations: 0 / 1.219 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.332, allocations: 0 / 1.219 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.332, allocations: 8 kB / 1.219 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3321, allocations: 3.938 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3321, allocations: 0 / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.3323, allocations: 199.5 kB / 1.219 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.3323, allocations: 89.05 kB / 1.219 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.3323, allocations: 4 kB / 1.219 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.3324, allocations: 3.938 kB / 1.219 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.3324, allocations: 7.984 kB / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3324, allocations: 11.94 kB / 1.219 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.3325, allocations: 91.27 kB / 1.219 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3325, allocations: 0 / 1.219 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002814/0.3328, allocations: 32 kB / 1.219 GB, free: 10.5 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005822/0.3334, allocations: 0.7467 MB / 1.22 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.3338, allocations: 230.6 kB / 1.22 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3338, allocations: 4 kB / 1.22 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.171e-05/0.3338, allocations: 27.92 kB / 1.22 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3342, allocations: 24.23 kB / 1.22 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.3364, allocations: 1.87 MB / 1.222 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3367, allocations: 0.6846 MB / 1.223 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.3367, allocations: 12.66 kB / 1.223 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.3368, allocations: 19.44 kB / 1.223 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.3368, allocations: 0 / 1.223 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.3623, allocations: 3.028 MB / 1.226 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.457, allocations: 6.875 kB / 1.226 GB, free: 3.77 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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: 14.664488336071372]