Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001453/0.001453, allocations: 104.4 kB / 16.45 MB, free: 6.387 MB / 14.72 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.001641/0.001641, allocations: 218.3 kB / 19.43 MB, free: 3.727 MB / 14.72 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.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.375/3.375, allocations: 0.49 GB / 0.7916 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 72.89 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3733, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002368/0.3757, allocations: 0.698 MB / 1.321 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3775, allocations: 1.229 MB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.3775, allocations: 0 / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.3776, allocations: 3.938 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.3777, allocations: 15.8 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007056/0.3784, allocations: 222.1 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.3786, allocations: 179.8 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.3787, allocations: 8 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3788, allocations: 71.88 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.379, allocations: 59.84 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.379, allocations: 16 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.414e-05/0.3791, allocations: 39.91 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.3791, allocations: 11.94 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.3792, allocations: 63.83 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.3794, allocations: 155.9 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3794, allocations: 0 / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3794, allocations: 0 / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.3795, allocations: 0 / 1.323 GB, free: 0.5781 MB / 1.014 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.0006219/0.3801, allocations: 442.6 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.3801, allocations: 11.98 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.3802, allocations: 34.75 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.3802, allocations: 16.88 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3804, allocations: 172.3 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.3805, allocations: 8.375 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.3805, allocations: 16.12 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.3806, allocations: 49.61 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3806, allocations: 0 / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3806, allocations: 0 / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3806, allocations: 4 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.3807, allocations: 11.98 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.3813, allocations: 368.6 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.3814, allocations: 38.5 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.3814, allocations: 16.95 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.3814, allocations: 3.984 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.3816, allocations: 91.3 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.3816, allocations: 0 / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.000311/0.3819, allocations: 125.6 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.3819, allocations: 59.39 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3821, allocations: 117.8 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.3821, allocations: 33.7 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.3822, allocations: 96.36 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.3822, allocations: 23.83 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3823, allocations: 49.69 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3825, allocations: 322.8 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3826, allocations: 63.97 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.3828, allocations: 110 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.383, allocations: 177.3 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.383, allocations: 4 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005083/0.3835, allocations: 288.8 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/0.3836, allocations: 71.39 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3836, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.3836, allocations: 7.938 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.424e-05/0.3837, allocations: 8.156 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3837, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.384, allocations: 59.77 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.3841, allocations: 23.92 kB / 1.326 GB, free: 13.38 MB / 1.029 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.0001522/0.3842, allocations: 117.8 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.3843, allocations: 15.94 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.3843, allocations: 8.375 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3843, allocations: 4 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3843, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3843, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.3847, allocations: 358.8 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3847, allocations: 3.984 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.3847, allocations: 0 / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3847, allocations: 0 / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3847, allocations: 4 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3847, allocations: 11.88 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3847, allocations: 0 / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.3849, allocations: 191.5 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.385, allocations: 97.06 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.385, allocations: 0 / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.945e-05/0.3851, allocations: 11.94 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3851, allocations: 3.984 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3851, allocations: 4 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.181e-05/0.3852, allocations: 95.27 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3852, allocations: 0 / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002982/0.3855, allocations: 36 kB / 1.327 GB, free: 12.34 MB / 1.029 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.0005983/0.3861, allocations: 0.7357 MB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.3865, allocations: 238.6 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3865, allocations: 0 / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.3866, allocations: 32.2 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.3869, allocations: 22.2 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.3893, allocations: 1.868 MB / 1.33 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3896, allocations: 0.6963 MB / 1.331 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.3896, allocations: 8.656 kB / 1.331 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.3897, allocations: 19.44 kB / 1.331 GB, free: 8.52 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3897, allocations: 0 / 1.331 GB, free: 8.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.4159, allocations: 3.028 MB / 1.334 GB, free: 5.602 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.54, allocations: 11.92 kB / 1.334 GB, free: 5.59 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable onCounter.trigger in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.trigger from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.reset in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.reset from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.594206548063084]