Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.004893/0.004893, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001258/0.001258, allocations: 195 kB / 16.67 MB, free: 5.523 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.629/2.629, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7985, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003032/0.8016, allocations: 1.753 MB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.8031, allocations: 0.8939 MB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.8032, allocations: 3.938 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.8034, allocations: 31.73 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.8037, allocations: 111.4 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.8041, allocations: 152.5 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000309/0.8044, allocations: 243.4 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.8045, allocations: 41.64 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.8047, allocations: 115.6 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01555/0.8202, allocations: 1.982 MB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.8204, allocations: 20 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.8205, allocations: 47.97 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.8206, allocations: 39.78 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.8208, allocations: 87.56 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.8213, allocations: 220.1 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.8213, allocations: 4 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8214, allocations: 0 / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.8214, allocations: 4 kB / 1.226 GB, free: 12.84 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001047/0.8224, allocations: 0.5603 MB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.8225, allocations: 12.03 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.8225, allocations: 38.69 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.8226, allocations: 20.84 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.823, allocations: 244.6 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.823, allocations: 16 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.8231, allocations: 12 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.8233, allocations: 117.5 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8233, allocations: 0 / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.8233, allocations: 8 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.8233, allocations: 3.984 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.8235, allocations: 55.97 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008674/0.8243, allocations: 0.5356 MB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.8245, allocations: 105 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/0.8246, allocations: 45.77 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.8246, allocations: 3.938 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/0.825, allocations: 121.2 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.825, allocations: 0 / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003564/0.8254, allocations: 166.8 kB / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.8254, allocations: 81.11 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.8256, allocations: 196.3 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.8257, allocations: 33.7 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.8258, allocations: 132.5 kB / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.8258, allocations: 31.69 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.8259, allocations: 65.62 kB / 1.228 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.8261, allocations: 327 kB / 1.229 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.8262, allocations: 31.98 kB / 1.229 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.8264, allocations: 143.2 kB / 1.229 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.8266, allocations: 120.9 kB / 1.229 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8266, allocations: 3.938 kB / 1.229 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002574/0.8269, allocations: 157.4 kB / 1.229 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.8269, allocations: 8.156 kB / 1.229 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8269, allocations: 4 kB / 1.229 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.8269, allocations: 0 / 1.229 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.827, allocations: 19.94 kB / 1.229 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.827, allocations: 3.984 kB / 1.229 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.8273, allocations: 27.88 kB / 1.229 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.8273, allocations: 8 kB / 1.229 GB, free: 9.094 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001389/0.8274, allocations: 140 kB / 1.229 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.8275, allocations: 19.91 kB / 1.229 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.8275, allocations: 21.52 kB / 1.229 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.8275, allocations: 4 kB / 1.229 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8276, allocations: 0 / 1.229 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.8276, allocations: 0 / 1.229 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007259/0.8283, allocations: 470.2 kB / 1.23 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8283, allocations: 0 / 1.23 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.8283, allocations: 4 kB / 1.23 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.8283, allocations: 4 kB / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.8284, allocations: 19.86 kB / 1.23 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8284, allocations: 0 / 1.23 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8284, allocations: 0 / 1.23 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.8287, allocations: 227.2 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.8287, allocations: 93 kB / 1.23 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.8288, allocations: 7.938 kB / 1.23 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.8289, allocations: 15.98 kB / 1.23 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.829, allocations: 19.97 kB / 1.23 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.829, allocations: 8.094 kB / 1.23 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000148/0.8292, allocations: 148.2 kB / 1.23 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8292, allocations: 0 / 1.23 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003185/0.8295, allocations: 43.89 kB / 1.23 GB, free: 7.77 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0008924/0.8304, allocations: 0.8439 MB / 1.231 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.8307, allocations: 108.3 kB / 1.231 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8307, allocations: 0 / 1.231 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.8308, allocations: 51.91 kB / 1.231 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.8312, allocations: 53.92 kB / 1.231 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.8335, allocations: 1.915 MB / 1.233 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.8338, allocations: 0.7281 MB / 1.234 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.442e-05/0.8339, allocations: 29.55 kB / 1.234 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.834, allocations: 55.42 kB / 1.234 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of SimCode: time 6.12e-07/0.834, allocations: 0 / 1.234 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.612/2.446, allocations: 5.542 MB / 1.239 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.217/11.66, allocations: 10.98 kB / 1.239 GB, free: 14.47 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches