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.001647/0.001647, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002302/0.002302, allocations: 210.2 kB / 22.24 MB, free: 5.121 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.789 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.179/3.179, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.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: 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.002097/0.002097, allocations: 67.3 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3384, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00243/0.3408, allocations: 0.9207 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.3431, allocations: 1.451 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.3433, allocations: 4 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.485e-05/0.3433, allocations: 11.81 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.3435, allocations: 67.5 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.3446, allocations: 441.4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006563/0.3453, allocations: 498.9 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3454, allocations: 30.23 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.3457, allocations: 183.6 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.346, allocations: 139.5 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.3461, allocations: 52 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.3463, allocations: 59.98 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.083e-05/0.3463, allocations: 43.78 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.3465, allocations: 151.5 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.3471, allocations: 0.4984 MB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3471, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3471, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.3471, allocations: 4 kB / 1.329 GB, free: 13.85 MB / 1.029 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.0009639/0.3481, allocations: 0.5664 MB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3481, allocations: 8.031 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.3482, allocations: 42.69 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3483, allocations: 24.84 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3485, allocations: 169.2 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.3485, allocations: 16.31 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.3486, allocations: 28.31 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3488, allocations: 120.2 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.3488, allocations: 3.938 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3488, allocations: 11.98 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3488, allocations: 0 / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.349, allocations: 55.92 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.35, allocations: 0.75 MB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.3502, allocations: 118.4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/0.3503, allocations: 55.42 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.3503, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.3507, allocations: 174.7 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.3507, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005285/0.3512, allocations: 233.3 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.3513, allocations: 132.5 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.3516, allocations: 248.8 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.3517, allocations: 37.7 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3518, allocations: 132.4 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.3518, allocations: 35.78 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.352, allocations: 89.66 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3522, allocations: 338.8 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.3526, allocations: 271 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.3531, allocations: 355.3 kB / 1.333 GB, free: 9.484 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.3536, allocations: 365 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3536, allocations: 8 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001118/0.3547, allocations: 0.6823 MB / 1.334 GB, free: 8.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.3548, allocations: 134.8 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3549, allocations: 4 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3549, allocations: 4 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.355, allocations: 19.94 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.355, allocations: 4 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.3556, allocations: 116 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.3557, allocations: 27.97 kB / 1.335 GB, free: 7.992 MB / 1.029 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.0001794/0.3559, allocations: 154.2 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3559, allocations: 23.86 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.3559, allocations: 21.33 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3559, allocations: 4 kB / 1.335 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.356, allocations: 0 / 1.335 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.356, allocations: 3.938 kB / 1.335 GB, free: 7.773 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3562, allocations: 208.7 kB / 1.335 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3562, allocations: 4 kB / 1.335 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.3562, allocations: 11.94 kB / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3563, allocations: 0 / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.3563, allocations: 16.86 kB / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.3563, allocations: 4 kB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3563, allocations: 3.984 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.3566, allocations: 223.3 kB / 1.335 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.3567, allocations: 31.78 kB / 1.335 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.3567, allocations: 0 / 1.335 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.3567, allocations: 8 kB / 1.335 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.3568, allocations: 23.89 kB / 1.335 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3568, allocations: 8 kB / 1.335 GB, free: 7.172 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001684/0.357, allocations: 168.5 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.357, allocations: 0 / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003422/0.3573, allocations: 64 kB / 1.336 GB, free: 6.949 MB / 1.029 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.0006884/0.358, allocations: 0.7695 MB / 1.336 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008938/0.3589, allocations: 0.5978 MB / 1.337 GB, free: 5.473 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3589, allocations: 4 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.359, allocations: 59.86 kB / 1.337 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.3595, allocations: 76.62 kB / 1.337 GB, free: 5.336 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.3643, allocations: 3.542 MB / 1.341 GB, free: 1.504 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.3644, allocations: 116.9 kB / 1.341 GB, free: 1.371 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.76e-05/0.3644, allocations: 21.64 kB / 1.341 GB, free: 1.352 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.3645, allocations: 59.42 kB / 1.341 GB, free: 1.293 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.3645, allocations: 0 / 1.341 GB, free: 1.293 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.4053, allocations: 7.539 MB / 1.348 GB, free: 9.996 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.95, allocations: 0 / 1.348 GB, free: 9.996 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.668053769040853]