Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_ZeroCrossing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01074/0.01075, allocations: 110 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001221/0.001221, allocations: 178.1 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.034/2.034, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.279/2.279, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006608/0.0006611, allocations: 16 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.674/0.6747, allocations: 98.71 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.001816/0.6765, allocations: 1.212 MB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006474/0.6772, allocations: 270.6 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.6773, allocations: 1 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.6773, allocations: 5.109 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.85e-05/0.6774, allocations: 16 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.6777, allocations: 33.92 kB / 0.6849 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.6778, allocations: 49.84 kB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.6779, allocations: 16.88 kB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.414e-05/0.678, allocations: 41.62 kB / 0.685 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.6781, allocations: 36 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.6781, allocations: 3.594 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.128e-05/0.6782, allocations: 3.875 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.6782, allocations: 12.55 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.6782, allocations: 43.66 kB / 0.6851 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.6784, allocations: 61.06 kB / 0.6852 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.6784, allocations: 0 / 0.6852 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6784, allocations: 0 / 0.6852 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.6784, allocations: 3.938 kB / 0.6852 GB, free: 15.51 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007654/0.6792, allocations: 411.1 kB / 0.6856 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.6792, allocations: 10.64 kB / 0.6856 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.6793, allocations: 37.58 kB / 0.6856 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.6794, allocations: 12.59 kB / 0.6856 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.6795, allocations: 178.6 kB / 0.6858 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.6795, allocations: 8.328 kB / 0.6858 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.6796, allocations: 5 kB / 0.6858 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.68, allocations: 108.9 kB / 0.6859 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.68, allocations: 4 kB / 0.6859 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.6801, allocations: 6.141 kB / 0.6859 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.6801, allocations: 2.406 kB / 0.6859 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006179/0.6807, allocations: 112.2 kB / 0.6861 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007573/0.6815, allocations: 361.3 kB / 0.6864 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008452/0.6823, allocations: 161.4 kB / 0.6866 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.6824, allocations: 5.062 kB / 0.6866 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004709/0.6829, allocations: 130.8 kB / 0.6867 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.415e-06/0.6829, allocations: 0 / 0.6867 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001102/0.684, allocations: 232.6 kB / 0.6869 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.6841, allocations: 57.25 kB / 0.687 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.6842, allocations: 122.5 kB / 0.6871 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.6842, allocations: 32.39 kB / 0.6871 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.6843, allocations: 93.16 kB / 0.6872 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.6843, allocations: 35.42 kB / 0.6872 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.6844, allocations: 0 / 0.6872 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.61e-05/0.6844, allocations: 332.3 kB / 0.6875 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.6848, allocations: 62.7 kB / 0.6876 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.6851, allocations: 96.59 kB / 0.6877 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.6855, allocations: 63.14 kB / 0.6878 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.6855, allocations: 0 / 0.6878 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007818/0.6863, allocations: 192.8 kB / 0.6879 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.6863, allocations: 6.5 kB / 0.6879 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6864, allocations: 0.9062 kB / 0.6879 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.6864, allocations: 6.969 kB / 0.688 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.6866, allocations: 25.78 kB / 0.688 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.6867, allocations: 5.75 kB / 0.688 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.6869, allocations: 32.58 kB / 0.688 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.6869, allocations: 8.344 kB / 0.688 GB, free: 13.45 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul1.pulseStart,booPul1.pulseStart,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.6871, allocations: 125.2 kB / 0.6881 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.6871, allocations: 7.406 kB / 0.6882 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000784/0.6879, allocations: 186.3 kB / 0.6883 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.6879, allocations: 6.484 kB / 0.6883 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6879, allocations: 9.188 kB / 0.6883 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.688, allocations: 3.938 kB / 0.6883 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.689, allocations: 451.9 kB / 0.6888 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.689, allocations: 0 / 0.6888 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.6892, allocations: 25.86 kB / 0.6888 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6892, allocations: 5.031 kB / 0.6888 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.6893, allocations: 9.594 kB / 0.6888 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.6893, allocations: 1.094 kB / 0.6888 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6893, allocations: 0.8438 kB / 0.6888 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/0.69, allocations: 266.7 kB / 0.6891 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.6901, allocations: 87.23 kB / 0.6892 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.6902, allocations: 3.172 kB / 0.6892 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.6904, allocations: 34.83 kB / 0.6892 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.6905, allocations: 21.64 kB / 0.6892 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.6906, allocations: 3.766 kB / 0.6892 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.947e-05/0.6906, allocations: 97.27 kB / 0.6893 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.9e-07/0.6907, allocations: 0 / 0.6893 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003606/0.691, allocations: 20.98 kB / 0.6893 GB, free: 12.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (zeroCrossing.y,$whenCondition2,$whenCondition1,booPul1.pulseStart,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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.6921, allocations: 0.8123 MB / 0.6901 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007765/0.6929, allocations: 152.6 kB / 0.6903 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6929, allocations: 0.9688 kB / 0.6903 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.6933, allocations: 79.38 kB / 0.6903 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.6936, allocations: 16.38 kB / 0.6904 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.696, allocations: 1.219 MB / 0.6916 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.6962, allocations: 0.6974 MB / 0.6922 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.6963, allocations: 12.91 kB / 0.6922 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.822e-05/0.6964, allocations: 32.11 kB / 0.6923 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.011e-06/0.6964, allocations: 0 / 0.6923 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.723, allocations: 2.152 MB / 0.6944 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003697/0.7234, allocations: 198.8 kB / 0.6946 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/3.023, allocations: 0 / 0.6946 GB, free: 9.578 MB / 0.5261 GB