Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.008838/0.008838, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002526/0.002526, allocations: 202.7 kB / 16.68 MB, free: 5.969 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.89 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2911, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002149/0.2932, allocations: 0.9668 MB / 1.242 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.2951, allocations: 1.431 MB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.2952, allocations: 0 / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.57e-05/0.2952, allocations: 19.73 kB / 1.244 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.2954, allocations: 51.56 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009867/0.2964, allocations: 451.5 kB / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.2969, allocations: 0.5147 MB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.297, allocations: 45.66 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.2972, allocations: 183.6 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.2975, allocations: 159.5 kB / 1.245 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.934e-05/0.2976, allocations: 48 kB / 1.245 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.2977, allocations: 63.98 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.2978, allocations: 43.78 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.2979, allocations: 163.5 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.2985, allocations: 0.4945 MB / 1.246 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2985, allocations: 4 kB / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2985, allocations: 0 / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2985, allocations: 0 / 1.246 GB, free: 5.582 MB / 0.9981 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.0007953/0.2993, allocations: 0.6378 MB / 1.247 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2993, allocations: 12.03 kB / 1.247 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.2994, allocations: 34.75 kB / 1.247 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.2995, allocations: 32.8 kB / 1.247 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.2997, allocations: 223.1 kB / 1.247 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.2997, allocations: 16.38 kB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.2998, allocations: 24.31 kB / 1.247 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3, allocations: 121.6 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3, allocations: 3.938 kB / 1.247 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3, allocations: 8 kB / 1.247 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3, allocations: 3.984 kB / 1.247 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.3002, allocations: 55.92 kB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.3011, allocations: 0.8757 MB / 1.248 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.3013, allocations: 126.4 kB / 1.248 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.3014, allocations: 59.47 kB / 1.248 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.3014, allocations: 0 / 1.248 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.3017, allocations: 174.6 kB / 1.248 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.3017, allocations: 0 / 1.248 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0004566/0.3022, allocations: 225.4 kB / 1.249 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.3023, allocations: 132.5 kB / 1.249 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3025, allocations: 248.9 kB / 1.249 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.3026, allocations: 41.64 kB / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3027, allocations: 132.5 kB / 1.249 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.3027, allocations: 31.73 kB / 1.249 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.3029, allocations: 97.64 kB / 1.249 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3031, allocations: 326.8 kB / 1.249 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.3034, allocations: 148.2 kB / 1.25 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.3038, allocations: 229.6 kB / 1.25 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/0.3043, allocations: 361 kB / 1.25 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3043, allocations: 7.938 kB / 1.25 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001002/0.3053, allocations: 0.5547 MB / 1.251 GB, free: 220 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.79e-05/0.3054, allocations: 134.8 kB / 1.251 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3054, allocations: 4 kB / 1.251 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3054, allocations: 7.984 kB / 1.251 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.3055, allocations: 11.94 kB / 1.251 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3055, allocations: 4 kB / 1.251 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5277/0.8332, allocations: 107 kB / 1.251 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/0.8334, allocations: 27.89 kB / 1.251 GB, free: 14.95 MB / 0.9981 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.000168/0.8335, allocations: 149.9 kB / 1.251 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.8336, allocations: 27.02 kB / 1.251 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.8336, allocations: 17.73 kB / 1.251 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.8337, allocations: 7.844 kB / 1.251 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.8337, allocations: 1.406 kB / 1.251 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.8337, allocations: 3.047 kB / 1.251 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.8339, allocations: 265.9 kB / 1.251 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8339, allocations: 1.531 kB / 1.251 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.834, allocations: 10.55 kB / 1.251 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.834, allocations: 4 kB / 1.251 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.834, allocations: 12.27 kB / 1.252 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.834, allocations: 1.906 kB / 1.252 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.834, allocations: 2.172 kB / 1.252 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.8343, allocations: 218 kB / 1.252 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.8343, allocations: 96.17 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.8344, allocations: 11.44 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/0.8344, allocations: 5.938 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.8345, allocations: 15.42 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.8345, allocations: 16.27 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001367/0.8347, allocations: 167 kB / 1.252 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8347, allocations: 0 / 1.252 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003402/0.835, allocations: 70.81 kB / 1.252 GB, free: 14.37 MB / 0.9981 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.0004399/0.8354, allocations: 0.7662 MB / 1.253 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.8361, allocations: 0.5264 MB / 1.253 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8361, allocations: 1.469 kB / 1.253 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.8362, allocations: 68.56 kB / 1.253 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.8367, allocations: 62.03 kB / 1.253 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.8401, allocations: 3.012 MB / 1.256 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.8402, allocations: 0.7349 MB / 1.257 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.425e-05/0.8403, allocations: 18.02 kB / 1.257 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.8404, allocations: 56.58 kB / 1.257 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.8404, allocations: 2.656 kB / 1.257 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.8681, allocations: 6.402 MB / 1.263 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.666, allocations: 17.05 kB / 1.263 GB, free: 10.25 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches