Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.001881/0.001881, allocations: 107.6 kB / 16.45 MB, free: 6.508 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.002032/0.002032, allocations: 200.5 kB / 19.41 MB, free: 3.66 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.453/1.453, 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.577/2.577, allocations: 443.5 MB / 0.7287 GB, free: 13.26 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.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 63.91 kB / 1.056 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7966/0.7992, allocations: 160.7 MB / 1.213 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00212/0.8013, allocations: 0.733 MB / 1.214 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.803, allocations: 1.145 MB / 1.215 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.803, allocations: 0 / 1.215 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.8031, allocations: 5.031 kB / 1.215 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.876e-05/0.8032, allocations: 10.11 kB / 1.215 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.8037, allocations: 127.5 kB / 1.215 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000231/0.8039, allocations: 128.6 kB / 1.215 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.804, allocations: 11.25 kB / 1.215 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.8041, allocations: 50.84 kB / 1.215 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.8042, allocations: 45.41 kB / 1.215 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.8043, allocations: 12.53 kB / 1.215 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.8043, allocations: 27.33 kB / 1.215 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.8044, allocations: 6.25 kB / 1.215 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.1e-05/0.8044, allocations: 43.09 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.8047, allocations: 137 kB / 1.215 GB, free: 2.023 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.8047, allocations: 0 / 1.215 GB, free: 2.023 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8047, allocations: 0 / 1.215 GB, free: 2.023 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.8047, allocations: 1.062 kB / 1.215 GB, free: 2.023 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005959/0.8053, allocations: 396.4 kB / 1.216 GB, free: 1.602 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.8053, allocations: 14.09 kB / 1.216 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.8053, allocations: 31.75 kB / 1.216 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.8054, allocations: 10.11 kB / 1.216 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.8056, allocations: 185.6 kB / 1.216 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.8056, allocations: 2.688 kB / 1.216 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.8056, allocations: 10.03 kB / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.8057, allocations: 45.25 kB / 1.216 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8057, allocations: 3.938 kB / 1.216 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.8057, allocations: 0.8125 kB / 1.216 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.8057, allocations: 4.688 kB / 1.216 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.368e-05/0.8058, allocations: 18.58 kB / 1.216 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.8063, allocations: 327 kB / 1.216 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.8064, allocations: 24.42 kB / 1.216 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.8064, allocations: 13.39 kB / 1.216 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.8064, allocations: 0 / 1.216 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.8066, allocations: 72.53 kB / 1.216 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.8066, allocations: 0 / 1.216 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.00025/0.8069, allocations: 74.52 kB / 1.217 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.8069, allocations: 52.47 kB / 1.217 GB, free: 0.707 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.8071, allocations: 127.6 kB / 1.217 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.8071, allocations: 31.78 kB / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.8072, allocations: 94.89 kB / 1.217 GB, free: 472 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.8072, allocations: 10.17 kB / 1.217 GB, free: 464 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/0.8073, allocations: 37.89 kB / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.8074, allocations: 319.8 kB / 1.217 GB, free: 104 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.8075, allocations: 38.05 kB / 1.217 GB, free: 84 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.8076, allocations: 54.5 kB / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.8078, allocations: 88.75 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8078, allocations: 11.94 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003077/0.8081, allocations: 171.3 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.8081, allocations: 44.34 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.8082, allocations: 0 / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.8082, allocations: 1.25 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.8082, allocations: 3.719 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.8082, allocations: 0 / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.8084, allocations: 24.88 kB / 1.218 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.8084, allocations: 12.86 kB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001/0.8085, allocations: 119.5 kB / 1.218 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.8086, allocations: 10.17 kB / 1.218 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.8086, allocations: 9.062 kB / 1.218 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.8086, allocations: 1.406 kB / 1.218 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8086, allocations: 0 / 1.218 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.8086, allocations: 0.9688 kB / 1.218 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.8087, allocations: 175.5 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8087, allocations: 0 / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.8088, allocations: 6.312 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8088, allocations: 0 / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.8088, allocations: 1.188 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.8088, allocations: 5.156 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.8088, allocations: 0 / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.8089, allocations: 94.69 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.809, allocations: 79.2 kB / 1.218 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.809, allocations: 1.125 kB / 1.218 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.809, allocations: 4 kB / 1.218 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.809, allocations: 10.55 kB / 1.218 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.809, allocations: 1.344 kB / 1.218 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.337e-05/0.8091, allocations: 95.33 kB / 1.218 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8091, allocations: 0 / 1.218 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002224/0.8093, allocations: 20.5 kB / 1.218 GB, free: 15.13 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000488/0.8098, allocations: 0.6427 MB / 1.219 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.8101, allocations: 119.3 kB / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8101, allocations: 3.938 kB / 1.219 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.8101, allocations: 12.31 kB / 1.219 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.8103, allocations: 15.48 kB / 1.219 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.8121, allocations: 1.494 MB / 1.22 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.8124, allocations: 0.6864 MB / 1.221 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.8124, allocations: 3.406 kB / 1.221 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.8125, allocations: 21.83 kB / 1.221 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.8125, allocations: 5.125 kB / 1.221 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.8365, allocations: 2.368 MB / 1.223 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/9.013, allocations: 14.94 kB / 1.223 GB, free: 11.05 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.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: 14.783673568163067]