Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.007022/0.007022, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001837/0.001837, allocations: 199.7 kB / 16.68 MB, free: 5.973 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 67.89 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3273, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00319/0.3305, allocations: 1.739 MB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.3321, allocations: 0.8852 MB / 1.244 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.3321, allocations: 0 / 1.244 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.3323, allocations: 31.7 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.3327, allocations: 115.4 kB / 1.245 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.3331, allocations: 147.7 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.3334, allocations: 247.4 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3335, allocations: 45.58 kB / 1.245 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3337, allocations: 107.7 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0126/0.3463, allocations: 1.671 MB / 1.247 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.521e-05/0.3464, allocations: 16 kB / 1.247 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.3465, allocations: 39.98 kB / 1.247 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.3466, allocations: 43.83 kB / 1.247 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.3468, allocations: 91.52 kB / 1.247 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.3472, allocations: 215.2 kB / 1.247 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3472, allocations: 0 / 1.247 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3472, allocations: 7.938 kB / 1.247 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3472, allocations: 0 / 1.247 GB, free: 4.848 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000841/0.348, allocations: 0.5642 MB / 1.248 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3481, allocations: 8.031 kB / 1.248 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.3481, allocations: 38.75 kB / 1.248 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.3482, allocations: 24.83 kB / 1.248 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.3485, allocations: 247.3 kB / 1.248 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3485, allocations: 19.98 kB / 1.248 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.3486, allocations: 16 kB / 1.248 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.3488, allocations: 113.6 kB / 1.248 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3488, allocations: 0 / 1.248 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3488, allocations: 3.984 kB / 1.248 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3489, allocations: 4 kB / 1.248 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.349, allocations: 55.91 kB / 1.248 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008503/0.3498, allocations: 0.5396 MB / 1.249 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.35, allocations: 101.1 kB / 1.249 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.3501, allocations: 37.77 kB / 1.249 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3501, allocations: 7.938 kB / 1.249 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.3504, allocations: 120 kB / 1.249 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.3504, allocations: 0 / 1.249 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003447/0.3507, allocations: 167.6 kB / 1.249 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.3508, allocations: 85.09 kB / 1.249 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.351, allocations: 202.2 kB / 1.249 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.3511, allocations: 37.69 kB / 1.249 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.3512, allocations: 116.5 kB / 1.25 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.3512, allocations: 35.73 kB / 1.25 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.3513, allocations: 57.67 kB / 1.25 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3515, allocations: 334.9 kB / 1.25 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.3515, allocations: 35.98 kB / 1.25 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.3518, allocations: 139.7 kB / 1.25 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.3519, allocations: 113.9 kB / 1.25 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.352, allocations: 0 / 1.25 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002639/0.3522, allocations: 165.3 kB / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3522, allocations: 12.16 kB / 1.25 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3523, allocations: 0 / 1.25 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3523, allocations: 4 kB / 1.25 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.3524, allocations: 19.98 kB / 1.25 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3524, allocations: 7.938 kB / 1.25 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.3526, allocations: 23.88 kB / 1.25 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.3526, allocations: 8 kB / 1.25 GB, free: 1.102 MB / 0.9981 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.0001285/0.3528, allocations: 131.5 kB / 1.251 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.3528, allocations: 31.89 kB / 1.251 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.3529, allocations: 17.53 kB / 1.251 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3529, allocations: 96 / 1.251 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3529, allocations: 4 kB / 1.251 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3529, allocations: 3.984 kB / 1.251 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.3535, allocations: 472.9 kB / 1.251 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3535, allocations: 0 / 1.251 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.3535, allocations: 7.938 kB / 1.251 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3535, allocations: 7.984 kB / 1.251 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3536, allocations: 7.938 kB / 1.251 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3536, allocations: 0 / 1.251 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3536, allocations: 0 / 1.251 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.3538, allocations: 228.2 kB / 1.251 GB, free: 120 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.3539, allocations: 92.95 kB / 1.251 GB, free: 8 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.6225/0.9763, allocations: 8.203 kB / 1.251 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.9766, allocations: 12.23 kB / 1.251 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.9767, allocations: 21.55 kB / 1.251 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.9768, allocations: 7.859 kB / 1.251 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001463/0.9769, allocations: 146.6 kB / 1.252 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9769, allocations: 1.312 kB / 1.252 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004521/0.9774, allocations: 47.31 kB / 1.252 GB, free: 14.79 MB / 0.9981 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.0006706/0.9781, allocations: 0.838 MB / 1.252 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.9783, allocations: 101.9 kB / 1.253 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9783, allocations: 1.406 kB / 1.253 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.9784, allocations: 48.23 kB / 1.253 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.9788, allocations: 60.81 kB / 1.253 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.9806, allocations: 1.945 MB / 1.255 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.9807, allocations: 0.7293 MB / 1.255 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.364e-05/0.9808, allocations: 21 kB / 1.255 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.9809, allocations: 55.94 kB / 1.255 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.9809, allocations: 1.594 kB / 1.255 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3853/1.366, allocations: 5.542 MB / 1.261 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.811/10.18, allocations: 6.672 kB / 1.261 GB, free: 11.47 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches