Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_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.001234/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0013/0.0013, allocations: 194.6 kB / 16.14 MB, free: 6.645 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.237/1.237, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.58 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2354, allocations: 157.4 MB / 1.052 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001779/0.2372, allocations: 0.787 MB / 1.053 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2385, allocations: 1.155 MB / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.2385, allocations: 0 / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.2385, allocations: 0 / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.2386, allocations: 11.94 kB / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.239, allocations: 119.7 kB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2391, allocations: 103.8 kB / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.781e-05/0.2392, allocations: 15.97 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.102e-05/0.2392, allocations: 35.86 kB / 1.054 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.2393, allocations: 31.84 kB / 1.054 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.2393, allocations: 4 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.055e-05/0.2394, allocations: 19.98 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.2394, allocations: 7.984 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.2395, allocations: 39.84 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.2397, allocations: 124 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2397, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2397, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.2397, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 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.0004242/0.2401, allocations: 405 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2401, allocations: 15.97 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.2402, allocations: 30.75 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.2402, allocations: 8.875 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2403, allocations: 180.2 kB / 1.055 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.2404, allocations: 8.375 kB / 1.055 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.2404, allocations: 8.359 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.056e-05/0.2405, allocations: 42.25 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.2405, allocations: 3.938 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.2405, allocations: 4 kB / 1.055 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.2405, allocations: 4 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.2405, allocations: 8 kB / 1.055 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.2409, allocations: 340.7 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.362e-05/0.241, allocations: 34.5 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.241, allocations: 8.922 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-06/0.241, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.2411, allocations: 67.3 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.2412, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001743/0.2413, allocations: 77.62 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.2414, allocations: 55.39 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.25e-05/0.2415, allocations: 125.8 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.2415, allocations: 25.7 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.2416, allocations: 100 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.2416, allocations: 7.906 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.2416, allocations: 33.7 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.2417, allocations: 314.8 kB / 1.056 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.2418, allocations: 47.97 kB / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.768e-05/0.2419, allocations: 50.56 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.242, allocations: 92.2 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.242, allocations: 64 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002514/0.2423, allocations: 163.3 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.2423, allocations: 37.77 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2423, allocations: 0 / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2424, allocations: 7.984 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.727e-05/0.2424, allocations: 3.938 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2424, allocations: 7.938 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.2426, allocations: 31.88 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.2426, allocations: 4 kB / 1.057 GB, free: 3.109 MB / 0.8106 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 7.894e-05/0.2427, allocations: 125.8 kB / 1.057 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.2427, allocations: 4 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.2427, allocations: 3.906 kB / 1.057 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2428, allocations: 4 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2428, allocations: 0 / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2428, allocations: 0 / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2429, allocations: 177.6 kB / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2429, allocations: 0 / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.2429, allocations: 4 kB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2429, allocations: 0 / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2429, allocations: 240 / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2429, allocations: 7.938 kB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2429, allocations: 0 / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.243, allocations: 104.9 kB / 1.057 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.2431, allocations: 81.02 kB / 1.057 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.2431, allocations: 4 kB / 1.057 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.811e-05/0.2431, allocations: 0 / 1.057 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.2432, allocations: 0 / 1.057 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.2432, allocations: 7.984 kB / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.151e-05/0.2432, allocations: 99.28 kB / 1.057 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2432, allocations: 0 / 1.057 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002024/0.2434, allocations: 23.92 kB / 1.057 GB, free: 2.375 MB / 0.8106 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.0003622/0.2438, allocations: 0.6241 MB / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.244, allocations: 139.3 kB / 1.058 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.244, allocations: 0 / 1.058 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/0.244, allocations: 12 kB / 1.058 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.2443, allocations: 17.7 kB / 1.058 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.2456, allocations: 1.504 MB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.2458, allocations: 0.6809 MB / 1.06 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.2459, allocations: 7.984 kB / 1.06 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.2459, allocations: 19.44 kB / 1.06 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2459, allocations: 0 / 1.06 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01072/0.2566, allocations: 2.173 MB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.2568, allocations: 221.7 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/1.742, allocations: 0 / 1.063 GB, free: 12.91 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches