Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001702/0.001702, allocations: 106.5 kB / 16.45 MB, free: 6.504 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.001888/0.001888, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.496/1.496, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.67/2.67, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 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.Sources.Validation.Pulse,fileNamePrefix="Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 75.88 kB / 1.056 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8314/0.8334, allocations: 160.7 MB / 1.213 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002688/0.836, allocations: 0.9732 MB / 1.214 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00247/0.8385, allocations: 1.439 MB / 1.215 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.8387, allocations: 1.094 kB / 1.215 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.05e-05/0.8387, allocations: 16.88 kB / 1.215 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.839, allocations: 63.41 kB / 1.215 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.8402, allocations: 449.8 kB / 1.216 GB, free: 1.629 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000814/0.841, allocations: 491.3 kB / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.8412, allocations: 40.95 kB / 1.216 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004574/0.8417, allocations: 184.4 kB / 1.216 GB, free: 1.195 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004528/0.8421, allocations: 159.3 kB / 1.217 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.8423, allocations: 49.47 kB / 1.217 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.8425, allocations: 66.64 kB / 1.217 GB, free: 1.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.8426, allocations: 36.31 kB / 1.217 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.843, allocations: 171.7 kB / 1.217 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009005/0.8439, allocations: 0.4925 MB / 1.217 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8439, allocations: 0 / 1.217 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.893e-06/0.8439, allocations: 3.984 kB / 1.217 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.986e-05/0.8439, allocations: 0 / 1.217 GB, free: 0.5156 MB / 0.92 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.00153/0.8454, allocations: 0.634 MB / 1.218 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.8455, allocations: 10.19 kB / 1.218 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.119e-05/0.8456, allocations: 41.95 kB / 1.218 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.8457, allocations: 30.7 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.846, allocations: 227.9 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.8461, allocations: 18.11 kB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.187e-05/0.8462, allocations: 23.81 kB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.8465, allocations: 118.8 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.8465, allocations: 7.875 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.8465, allocations: 6.344 kB / 1.219 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.8465, allocations: 1.156 kB / 1.219 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.8467, allocations: 54.91 kB / 1.219 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.8481, allocations: 0.8815 MB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.8482, allocations: 116.7 kB / 1.22 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/0.8483, allocations: 48.83 kB / 1.22 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.8484, allocations: 2.562 kB / 1.22 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/0.8488, allocations: 174.8 kB / 1.22 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 3.145e-06/0.8488, allocations: 0 / 1.22 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0005383/0.8493, allocations: 228 kB / 1.22 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.8494, allocations: 132.9 kB / 1.22 GB, free: 14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.8497, allocations: 251.5 kB / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.8498, allocations: 37.14 kB / 1.22 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.8499, allocations: 127 kB / 1.22 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.85, allocations: 40.7 kB / 1.221 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.8502, allocations: 87.81 kB / 1.221 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.8504, allocations: 336.7 kB / 1.221 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.8507, allocations: 142.3 kB / 1.221 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.8511, allocations: 226.3 kB / 1.221 GB, free: 13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/0.8516, allocations: 363.9 kB / 1.222 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.8516, allocations: 1.219 kB / 1.222 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001075/0.8527, allocations: 0.5676 MB / 1.222 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.8528, allocations: 141.3 kB / 1.222 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.8529, allocations: 3.25 kB / 1.222 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.8529, allocations: 3.5 kB / 1.222 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.853, allocations: 17.8 kB / 1.222 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.853, allocations: 8.281 kB / 1.222 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.8537, allocations: 115.7 kB / 1.222 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.8537, allocations: 26.08 kB / 1.222 GB, free: 12.09 MB / 0.9356 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.0002135/0.8539, allocations: 148.5 kB / 1.223 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.854, allocations: 21.36 kB / 1.223 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.8541, allocations: 22.8 kB / 1.223 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.8541, allocations: 7.266 kB / 1.223 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8541, allocations: 1.188 kB / 1.223 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8541, allocations: 8.875 kB / 1.223 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.8544, allocations: 260.4 kB / 1.223 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.8544, allocations: 0.875 kB / 1.223 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.8544, allocations: 12.11 kB / 1.223 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.8545, allocations: 1.562 kB / 1.223 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.8545, allocations: 11.03 kB / 1.223 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.8545, allocations: 2.188 kB / 1.223 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.8545, allocations: 1.094 kB / 1.223 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.8548, allocations: 221.3 kB / 1.223 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/0.8549, allocations: 94.81 kB / 1.223 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.855, allocations: 10.3 kB / 1.223 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.855, allocations: 5.312 kB / 1.223 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.8551, allocations: 19.36 kB / 1.223 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.8551, allocations: 9.406 kB / 1.223 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002081/0.8553, allocations: 165.8 kB / 1.223 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8553, allocations: 1.031 kB / 1.223 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003776/0.8557, allocations: 67.22 kB / 1.224 GB, free: 11.21 MB / 0.9356 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.0009269/0.8566, allocations: 0.7701 MB / 1.224 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007495/0.8573, allocations: 490.7 kB / 1.225 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.8573, allocations: 0.9688 kB / 1.225 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.8575, allocations: 59.62 kB / 1.225 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.8579, allocations: 70.83 kB / 1.225 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/0.8624, allocations: 3.021 MB / 1.228 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.8628, allocations: 0.7299 MB / 1.229 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.728e-05/0.8629, allocations: 25.69 kB / 1.229 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.8631, allocations: 60.84 kB / 1.229 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of SimCode: time 1.433e-06/0.8631, allocations: 5.344 kB / 1.229 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.8967, allocations: 6.416 MB / 1.235 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/9.323, allocations: 2.156 kB / 1.235 GB, free: 1.051 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.321326549630612]