Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.000904/0.000904, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008375/0.0008375, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.888/0.888, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.728/1.728, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Sources.Validation.Pulse,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.585e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001596/0.001622, allocations: 0.9253 MB / 0.9819 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.003098, allocations: 1.462 MB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.003167, allocations: 4 kB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.003207, allocations: 15.75 kB / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.003334, allocations: 67.5 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.004179, allocations: 449.8 kB / 0.9838 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.004589, allocations: 499 kB / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004704, allocations: 29.94 kB / 0.9843 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.004934, allocations: 263.6 kB / 0.9846 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.005091, allocations: 127.7 kB / 0.9847 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.005138, allocations: 52 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.005226, allocations: 63.98 kB / 0.9848 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.00526, allocations: 39.78 kB / 0.9848 GB, free: 14.6 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.005365, allocations: 139.8 kB / 0.985 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.005759, allocations: 0.5611 MB / 0.9855 GB, free: 13.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.005763, allocations: 0 / 0.9855 GB, free: 13.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.005765, allocations: 0 / 0.9855 GB, free: 13.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.00577, allocations: 4 kB / 0.9855 GB, free: 13.89 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007028/0.006472, allocations: 0.5586 MB / 0.9861 GB, free: 13.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.006515, allocations: 8.031 kB / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.006547, allocations: 38.75 kB / 0.9861 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.006616, allocations: 36.78 kB / 0.9861 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.006751, allocations: 164.9 kB / 0.9863 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.006776, allocations: 16.38 kB / 0.9863 GB, free: 12.99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.006811, allocations: 20.38 kB / 0.9863 GB, free: 12.97 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.006959, allocations: 121.6 kB / 0.9865 GB, free: 12.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.006967, allocations: 4.125 kB / 0.9865 GB, free: 12.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.006979, allocations: 8.359 kB / 0.9865 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.006985, allocations: 8.125 kB / 0.9865 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.007063, allocations: 55.92 kB / 0.9865 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.007722, allocations: 0.75 MB / 0.9873 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.007848, allocations: 114.4 kB / 0.9874 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.007898, allocations: 47.48 kB / 0.9874 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.007908, allocations: 4 kB / 0.9874 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.008147, allocations: 177.9 kB / 0.9876 GB, free: 11.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.008149, allocations: 0 / 0.9876 GB, free: 11.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0003502/0.0085, allocations: 237.3 kB / 0.9878 GB, free: 11.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.008556, allocations: 136.5 kB / 0.9879 GB, free: 11.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.008736, allocations: 245.7 kB / 0.9882 GB, free: 10.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.008773, allocations: 37.7 kB / 0.9882 GB, free: 10.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.00885, allocations: 136.5 kB / 0.9883 GB, free: 10.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.008872, allocations: 27.81 kB / 0.9884 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.008979, allocations: 89.66 kB / 0.9885 GB, free: 10.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.009063, allocations: 338.8 kB / 0.9888 GB, free: 10.26 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.009317, allocations: 275 kB / 0.989 GB, free: 9.961 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.009575, allocations: 345.5 kB / 0.9894 GB, free: 9.562 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.009877, allocations: 368.9 kB / 0.9897 GB, free: 9.141 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.009881, allocations: 4 kB / 0.9897 GB, free: 9.137 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006613/0.01054, allocations: 0.694 MB / 0.9904 GB, free: 8.387 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/0.01061, allocations: 134.8 kB / 0.9905 GB, free: 8.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.01062, allocations: 4 kB / 0.9905 GB, free: 8.227 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.01064, allocations: 4 kB / 0.9905 GB, free: 8.223 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.01072, allocations: 11.94 kB / 0.9906 GB, free: 8.211 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01073, allocations: 4 kB / 0.9906 GB, free: 8.207 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.01107, allocations: 116 kB / 0.9907 GB, free: 8.094 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.01111, allocations: 31.97 kB / 0.9907 GB, free: 8.062 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001283/0.01124, allocations: 149.7 kB / 0.9908 GB, free: 7.906 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.01127, allocations: 27.89 kB / 0.9909 GB, free: 7.879 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.0113, allocations: 17.34 kB / 0.9909 GB, free: 7.859 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01131, allocations: 4 kB / 0.9909 GB, free: 7.855 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.01132, allocations: 0 / 0.9909 GB, free: 7.855 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.01132, allocations: 7.984 kB / 0.9909 GB, free: 7.848 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.0115, allocations: 212.6 kB / 0.9911 GB, free: 7.598 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.0115, allocations: 4 kB / 0.9911 GB, free: 7.594 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.01153, allocations: 8 kB / 0.9911 GB, free: 7.586 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.01153, allocations: 0 / 0.9911 GB, free: 7.586 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.01155, allocations: 7.984 kB / 0.9911 GB, free: 7.578 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01155, allocations: 0 / 0.9911 GB, free: 7.578 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.01155, allocations: 19.88 kB / 0.9911 GB, free: 7.559 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.01177, allocations: 215.5 kB / 0.9913 GB, free: 7.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.0118, allocations: 23.84 kB / 0.9914 GB, free: 7.297 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.01182, allocations: 0.9375 kB / 0.9914 GB, free: 7.297 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.043e-05/0.01186, allocations: 15.92 kB / 0.9914 GB, free: 7.281 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.01189, allocations: 11.98 kB / 0.9914 GB, free: 7.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.0119, allocations: 8 kB / 0.9914 GB, free: 7.262 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001038/0.01201, allocations: 169.2 kB / 0.9916 GB, free: 7.098 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01201, allocations: 3.938 kB / 0.9916 GB, free: 7.094 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002499/0.01226, allocations: 71.95 kB / 0.9916 GB, free: 7.023 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005204/0.01278, allocations: 0.7604 MB / 0.9924 GB, free: 6.223 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.0133, allocations: 0.6056 MB / 0.993 GB, free: 5.543 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.0133, allocations: 0 / 0.993 GB, free: 5.543 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.01337, allocations: 51.92 kB / 0.993 GB, free: 5.492 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.01369, allocations: 72.86 kB / 0.9931 GB, free: 5.422 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.01659, allocations: 3.537 MB / 0.9965 GB, free: 1.586 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.046e-05/0.01667, allocations: 120.9 kB / 0.9967 GB, free: 1.445 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.72e-05/0.01674, allocations: 17.64 kB / 0.9967 GB, free: 1.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.01682, allocations: 64.47 kB / 0.9967 GB, free: 1.367 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/0.01682, allocations: 0 / 0.9967 GB, free: 1.367 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.04127, allocations: 7.633 MB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.863/6.904, allocations: 0.8125 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.923059361986816]