Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009258/0.0009259, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0056/0.005599, allocations: 170.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7085/0.7089, allocations: 142.4 MB / 0.9552 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0009782/0.7099, allocations: 0.672 MB / 0.9558 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.7115, allocations: 1.483 MB / 0.9573 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.7116, allocations: 2.438 kB / 0.9573 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.7116, allocations: 7.875 kB / 0.9573 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.7117, allocations: 48.33 kB / 0.9573 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008915/0.7126, allocations: 418.6 kB / 0.9577 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.713, allocations: 419.3 kB / 0.9581 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.7131, allocations: 48.81 kB / 0.9582 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.7133, allocations: 150.5 kB / 0.9583 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.7134, allocations: 117.3 kB / 0.9584 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.7135, allocations: 17.44 kB / 0.9585 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.7136, allocations: 37.22 kB / 0.9585 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.7136, allocations: 35.19 kB / 0.9585 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.7138, allocations: 158.9 kB / 0.9587 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.7141, allocations: 468.8 kB / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7141, allocations: 0 / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.043e-06/0.7141, allocations: 0 / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.7141, allocations: 0 / 0.9591 GB, free: 4.629 MB / 0.7169 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.0005251/0.7147, allocations: 0.5668 MB / 0.9597 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.7147, allocations: 9.625 kB / 0.9597 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.7148, allocations: 37.5 kB / 0.9597 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.122e-05/0.7149, allocations: 35.94 kB / 0.9598 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.715, allocations: 222.2 kB / 0.96 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.715, allocations: 19.31 kB / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.7151, allocations: 23.62 kB / 0.96 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.7153, allocations: 126.7 kB / 0.9601 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.7153, allocations: 0 / 0.9601 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.7153, allocations: 5.359 kB / 0.9601 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.7153, allocations: 2.75 kB / 0.9601 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.695e-05/0.7154, allocations: 58.05 kB / 0.9602 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.7162, allocations: 0.8746 MB / 0.9611 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.7163, allocations: 111 kB / 0.9612 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.7164, allocations: 60.45 kB / 0.9612 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.7164, allocations: 1.438 kB / 0.9612 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.7167, allocations: 178.1 kB / 0.9614 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.7167, allocations: 5.188 kB / 0.9614 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0004904/0.7172, allocations: 220.1 kB / 0.9616 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.7172, allocations: 144.5 kB / 0.9617 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.7175, allocations: 235.5 kB / 0.962 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.7175, allocations: 41.88 kB / 0.962 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.7176, allocations: 130.2 kB / 0.9621 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.7177, allocations: 32.98 kB / 0.9622 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/0.7178, allocations: 50.25 kB / 0.9622 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.7179, allocations: 332.3 kB / 0.9625 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.7182, allocations: 150.8 kB / 0.9627 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.7185, allocations: 217.9 kB / 0.9629 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.7189, allocations: 375 kB / 0.9632 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.7189, allocations: 1 kB / 0.9632 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008863/0.7198, allocations: 0.5505 MB / 0.9638 GB, free: 496 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/0.7199, allocations: 137.3 kB / 0.9639 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.7199, allocations: 6.641 kB / 0.9639 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.7199, allocations: 4.125 kB / 0.9639 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.72, allocations: 20.91 kB / 0.9639 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.72, allocations: 4.25 kB / 0.9639 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008146/0.7209, allocations: 159.5 kB / 0.9641 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.7209, allocations: 26.64 kB / 0.9641 GB, free: 268 kB / 0.7169 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.0001606/0.7211, allocations: 147.1 kB / 0.9643 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.7211, allocations: 21.59 kB / 0.9643 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.7212, allocations: 23.27 kB / 0.9643 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.7212, allocations: 6.406 kB / 0.9643 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.7212, allocations: 5.156 kB / 0.9643 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7212, allocations: 1.438 kB / 0.9643 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.7215, allocations: 256.8 kB / 0.9646 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.7215, allocations: 1.25 kB / 0.9646 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.7215, allocations: 15.2 kB / 0.9646 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.7215, allocations: 2.188 kB / 0.9646 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.7216, allocations: 7.031 kB / 0.9646 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.7216, allocations: 5.031 kB / 0.9646 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7216, allocations: 1.125 kB / 0.9646 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.7219, allocations: 216.2 kB / 0.9648 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.7219, allocations: 98.72 kB / 0.9649 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.722, allocations: 15.38 kB / 0.9649 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.722, allocations: 5.156 kB / 0.9649 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.7221, allocations: 20.23 kB / 0.9649 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.7221, allocations: 12.77 kB / 0.9649 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000126/0.7222, allocations: 167.2 kB / 0.9651 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7222, allocations: 0 / 0.9651 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000346/0.7226, allocations: 71.23 kB / 0.9652 GB, free: 15.39 MB / 0.7325 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.000579/0.7232, allocations: 0.764 MB / 0.9659 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007015/0.7239, allocations: 0.5245 MB / 0.9664 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7239, allocations: 0 / 0.9664 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.724, allocations: 66.12 kB / 0.9665 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.7245, allocations: 67.53 kB / 0.9666 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.7286, allocations: 3.034 MB / 0.9695 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.7289, allocations: 0.7371 MB / 0.9702 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.605e-05/0.729, allocations: 18.05 kB / 0.9703 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.7291, allocations: 61.77 kB / 0.9703 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.7291, allocations: 0 / 0.9703 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.7482, allocations: 5.972 MB / 0.9761 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.7485, allocations: 215.8 kB / 0.9764 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.538, allocations: 7.188 kB / 0.9764 GB, free: 7.918 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches