Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005694/0.005694, allocations: 101.5 kB / 15.73 MB, free: 5.973 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.001342/0.001342, allocations: 188.6 kB / 16.67 MB, free: 5.895 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.617/2.617, allocations: 469.8 MB / 0.7425 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 71.84 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9085/0.9097, allocations: 159.1 MB / 1.221 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002002/0.9117, allocations: 0.7145 MB / 1.221 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.9131, allocations: 1.139 MB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.9132, allocations: 3.938 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.9132, allocations: 0 / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.9133, allocations: 19.86 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.9138, allocations: 134.7 kB / 1.223 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.914, allocations: 119.8 kB / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.9141, allocations: 11.98 kB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.536e-05/0.9141, allocations: 55.83 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.974e-05/0.9142, allocations: 39.89 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.9143, allocations: 12 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.811e-05/0.9143, allocations: 23.98 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.9143, allocations: 11.94 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.9144, allocations: 39.84 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.9146, allocations: 132.2 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9146, allocations: 0 / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.216e-06/0.9146, allocations: 4 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9146, allocations: 0 / 1.223 GB, free: 15.72 MB / 0.9512 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.0005144/0.9151, allocations: 400.9 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.9152, allocations: 15.97 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.9152, allocations: 4.938 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.9153, allocations: 176.2 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.9154, allocations: 12.36 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.9154, allocations: 4.375 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.462e-05/0.9155, allocations: 42.25 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.9155, allocations: 192 / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.9155, allocations: 7.875 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.9155, allocations: 4 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.9155, allocations: 11.98 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.916, allocations: 336.8 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.35e-05/0.916, allocations: 30.5 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.9161, allocations: 12.92 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.9161, allocations: 4 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.9162, allocations: 71.39 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.9162, allocations: 3.938 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.000193/0.9164, allocations: 69.69 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.9165, allocations: 51.41 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.9166, allocations: 129.8 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.9166, allocations: 29.7 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.9166, allocations: 88.14 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.9167, allocations: 11.92 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.9167, allocations: 33.7 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.9168, allocations: 318.8 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.9169, allocations: 31.98 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.21e-05/0.917, allocations: 58.55 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.9171, allocations: 96.14 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9171, allocations: 4 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002572/0.9174, allocations: 167.2 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.9174, allocations: 33.7 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.9174, allocations: 0 / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.9174, allocations: 4 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.9175, allocations: 3.984 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9175, allocations: 7.938 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.9177, allocations: 31.91 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.9177, allocations: 12 kB / 1.225 GB, free: 13.18 MB / 0.9512 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 8.305e-05/0.9178, allocations: 117.8 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.9178, allocations: 7.953 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.9178, allocations: 7.891 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.9178, allocations: 4 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.9178, allocations: 0 / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.9178, allocations: 0 / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.9179, allocations: 173.6 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9179, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.918, allocations: 11.98 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.918, allocations: 3.938 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.918, allocations: 0 / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.918, allocations: 4.062 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.918, allocations: 4 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.9181, allocations: 92.95 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.9181, allocations: 81.09 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.9181, allocations: 4 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.9182, allocations: 4 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.9182, allocations: 0 / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.9182, allocations: 4 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.25e-05/0.9183, allocations: 103.6 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9183, allocations: 0 / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002133/0.9185, allocations: 19.95 kB / 1.226 GB, free: 12.44 MB / 0.9512 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.000146/0.9186, allocations: 107.5 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.9188, allocations: 131.4 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9188, allocations: 0 / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.9189, allocations: 12 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.9191, allocations: 19.92 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.9194, allocations: 149.9 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.9196, allocations: 0.683 MB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.9197, allocations: 12.05 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.9197, allocations: 11.44 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/0.9197, allocations: 3.938 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of Templates: time 0.003726/0.9234, allocations: 1.35 MB / 1.228 GB, free: 9.93 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches