Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.811/1.811, allocations: 291.7 MB / 306.8 MB, free: 7.715 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 185.5 kB / 375.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008309/0.0008312, allocations: 98.47 kB / 0.7699 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004274, allocations: 12.78 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8216/0.8221, allocations: 118.1 MB / 1.011 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.001291/0.8235, allocations: 0.5177 MB / 1.011 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.8252, allocations: 1.172 MB / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.8252, allocations: 0 / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.8253, allocations: 7.219 kB / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.8254, allocations: 15.08 kB / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.8258, allocations: 128 kB / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.826, allocations: 127.5 kB / 1.013 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.8261, allocations: 26.02 kB / 1.013 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.137e-05/0.8262, allocations: 47.94 kB / 1.013 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.34e-05/0.8263, allocations: 54.05 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.8263, allocations: 5.969 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.002e-05/0.8264, allocations: 30.61 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.8264, allocations: 13.77 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.8265, allocations: 41.83 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.8267, allocations: 96.42 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.8267, allocations: 3.688 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8267, allocations: 1.438 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8267, allocations: 2.875 kB / 1.013 GB, free: 57.62 MB / 0.7136 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.0006171/0.8273, allocations: 434.3 kB / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.8274, allocations: 8.938 kB / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.8274, allocations: 10.75 kB / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.8276, allocations: 178.2 kB / 1.014 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.8276, allocations: 6.25 kB / 1.014 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.8276, allocations: 14.56 kB / 1.014 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.8279, allocations: 108.2 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.8279, allocations: 2.156 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.828, allocations: 8.344 kB / 1.014 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.828, allocations: 2.078 kB / 1.014 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.8283, allocations: 109.6 kB / 1.014 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.8289, allocations: 381.2 kB / 1.014 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.8291, allocations: 108.7 kB / 1.014 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.8293, allocations: 71.67 kB / 1.015 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.8294, allocations: 3.281 kB / 1.015 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.8297, allocations: 123.5 kB / 1.015 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.8297, allocations: 2.656 kB / 1.015 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0006361/0.8303, allocations: 248.8 kB / 1.015 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.8304, allocations: 53.67 kB / 1.015 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.8305, allocations: 132.9 kB / 1.015 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.8305, allocations: 40.23 kB / 1.015 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.8305, allocations: 96.61 kB / 1.015 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.8306, allocations: 28.58 kB / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.8306, allocations: 6.688 kB / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.8307, allocations: 326.7 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.8309, allocations: 86.84 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.8312, allocations: 125.3 kB / 1.016 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.8316, allocations: 204.9 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.8316, allocations: 1.531 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005739/0.8322, allocations: 286.2 kB / 1.016 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.8322, allocations: 38.12 kB / 1.016 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8322, allocations: 3.812 kB / 1.016 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.8323, allocations: 0 / 1.016 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.8324, allocations: 39.12 kB / 1.016 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.8324, allocations: 2.312 kB / 1.016 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.8327, allocations: 63.67 kB / 1.016 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.8327, allocations: 10.94 kB / 1.016 GB, free: 55.71 MB / 0.7136 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul1.y,booPul1.y,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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 8.672e-05/0.8328, allocations: 131.7 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.8328, allocations: 12.81 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/0.8333, allocations: 192.4 kB / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.8333, allocations: 0 / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8333, allocations: 128 / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.8333, allocations: 14.09 kB / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.8339, allocations: 476.5 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8339, allocations: 0 / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.559e-05/0.834, allocations: 22.81 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.834, allocations: 4 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.834, allocations: 2.438 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.834, allocations: 7.438 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8341, allocations: 4.969 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.8345, allocations: 278.6 kB / 1.017 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.8345, allocations: 87.92 kB / 1.018 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.8346, allocations: 1.031 kB / 1.018 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.8347, allocations: 21.23 kB / 1.018 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.8348, allocations: 27.44 kB / 1.018 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.8348, allocations: 6.047 kB / 1.018 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.8348, allocations: 94.97 kB / 1.018 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8348, allocations: 0 / 1.018 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002458/0.8351, allocations: 28.66 kB / 1.018 GB, free: 54.9 MB / 0.7136 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 (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.0001617/0.8352, allocations: 112 kB / 1.018 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005336/0.8358, allocations: 259.8 kB / 1.018 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8358, allocations: 256 / 1.018 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.836, allocations: 87.52 kB / 1.018 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.8363, allocations: 13.12 kB / 1.018 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.8367, allocations: 221.2 kB / 1.018 GB, free: 54.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.8368, allocations: 0.6945 MB / 1.019 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.737e-05/0.8369, allocations: 16.27 kB / 1.019 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.8369, allocations: 13.38 kB / 1.019 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.8369, allocations: 0 / 1.019 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of Templates: time 0.004074/0.841, allocations: 1.658 MB / 1.021 GB, free: 53.79 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)