Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.006261/0.006261, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001302/0.001302, allocations: 197.4 kB / 16.68 MB, free: 5.926 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.419/1.419, 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.0.1-master/package.mo): time 2.7/2.7, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 68.12 kB / 1.054 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8344/0.8358, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003398/0.8393, allocations: 1.735 MB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.8409, allocations: 0.8852 MB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.8411, allocations: 3.938 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.8413, allocations: 35.7 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.8417, allocations: 127.4 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.8422, allocations: 146.6 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.8425, allocations: 247.4 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.8427, allocations: 29.67 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.8429, allocations: 119.6 kB / 1.21 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01038/0.8533, allocations: 1.695 MB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.8533, allocations: 16 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.8535, allocations: 43.98 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.574e-05/0.8536, allocations: 43.77 kB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.8537, allocations: 91.56 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.8542, allocations: 215.3 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.8542, allocations: 4 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8542, allocations: 0 / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.8543, allocations: 0 / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001146/0.8554, allocations: 0.5527 MB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.8555, allocations: 8.031 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.8555, allocations: 42.73 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.611e-05/0.8556, allocations: 32.66 kB / 1.213 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.856, allocations: 235.4 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.856, allocations: 12 kB / 1.213 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.8561, allocations: 16 kB / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.8563, allocations: 87.14 kB / 1.213 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.8563, allocations: 0 / 1.213 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.8563, allocations: 8 kB / 1.213 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.8564, allocations: 3.984 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.8565, allocations: 47.98 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.8574, allocations: 476.2 kB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.8578, allocations: 138.7 kB / 1.214 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.8579, allocations: 32.84 kB / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.8579, allocations: 7.938 kB / 1.214 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.8582, allocations: 111.3 kB / 1.214 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.973e-06/0.8582, allocations: 0 / 1.214 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003902/0.8586, allocations: 157.4 kB / 1.214 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.8587, allocations: 63.41 kB / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.859, allocations: 196.3 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.859, allocations: 37.64 kB / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.8591, allocations: 124.4 kB / 1.215 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.8592, allocations: 31.61 kB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.8593, allocations: 53.69 kB / 1.215 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8594, allocations: 334.8 kB / 1.215 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.8595, allocations: 31.98 kB / 1.215 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.8598, allocations: 135.5 kB / 1.215 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.8599, allocations: 98.02 kB / 1.215 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8599, allocations: 4 kB / 1.215 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003746/0.8603, allocations: 153.2 kB / 1.216 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.8603, allocations: 8 kB / 1.216 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.8604, allocations: 0 / 1.216 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.8604, allocations: 4 kB / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.8605, allocations: 15.94 kB / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.8605, allocations: 128 / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.8607, allocations: 31.91 kB / 1.216 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.8608, allocations: 12 kB / 1.216 GB, free: 5.027 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001356/0.8609, allocations: 131.5 kB / 1.216 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.8609, allocations: 19.72 kB / 1.216 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.861, allocations: 29.8 kB / 1.216 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.861, allocations: 0 / 1.216 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.861, allocations: 0 / 1.216 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.861, allocations: 3.938 kB / 1.216 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.8617, allocations: 0.4929 MB / 1.216 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8618, allocations: 0 / 1.216 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.8618, allocations: 4 kB / 1.216 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8618, allocations: 0 / 1.216 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.8618, allocations: 15.94 kB / 1.216 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8618, allocations: 0 / 1.216 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8618, allocations: 0 / 1.216 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.8621, allocations: 231.3 kB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.8621, allocations: 92.86 kB / 1.217 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.8622, allocations: 11.92 kB / 1.217 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.8623, allocations: 11.98 kB / 1.217 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.8624, allocations: 15.98 kB / 1.217 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.8624, allocations: 11.98 kB / 1.217 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001334/0.8626, allocations: 144.2 kB / 1.217 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8626, allocations: 4 kB / 1.217 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003122/0.8629, allocations: 44 kB / 1.217 GB, free: 3.68 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * 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.0007294/0.8636, allocations: 0.8375 MB / 1.218 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.8639, allocations: 95.84 kB / 1.218 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8639, allocations: 256 / 1.218 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-05/0.864, allocations: 66.81 kB / 1.218 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.8644, allocations: 62.91 kB / 1.218 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.8666, allocations: 1.906 MB / 1.22 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.8669, allocations: 0.7203 MB / 1.221 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.257e-05/0.8669, allocations: 29.53 kB / 1.221 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.929e-05/0.8671, allocations: 55.41 kB / 1.221 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.8671, allocations: 0 / 1.221 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.8924, allocations: 5.696 MB / 1.226 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.769, allocations: 10.66 kB / 1.226 GB, free: 10.27 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:booPul.period,booPul.startTime,booPul.width,booPul.y,plotConfiguration.activate,plotConfiguration.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],scaDel.activation,scaDel.activationDelay,scaDel.active,scaDel.n,scaDel.samplePeriod,scaDel.x,scaDel.y[1],time,timeSignal.y