Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_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.00123/0.00123, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001305/0.001305, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.479/2.479, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 59.91 kB / 0.8686 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5651/0.5665, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003239/0.5698, allocations: 1.877 MB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.5714, allocations: 0.9514 MB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.5716, allocations: 4 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.5719, allocations: 23.8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.5723, allocations: 87.66 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.5728, allocations: 136.9 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.5731, allocations: 231.3 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.5732, allocations: 37.67 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.5734, allocations: 103.6 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02184/0.5953, allocations: 1.533 MB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.17e-05/0.5954, allocations: 8 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.5955, allocations: 32 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.5956, allocations: 35.83 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.5957, allocations: 83.56 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.596, allocations: 207.3 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.596, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.32e-07/0.596, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.596, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 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.0008634/0.5969, allocations: 0.5566 MB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.597, allocations: 8.031 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.597, allocations: 42.73 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.334e-05/0.5971, allocations: 20.75 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.5974, allocations: 251.2 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5974, allocations: 8 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.5975, allocations: 16 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.5977, allocations: 111.4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5977, allocations: 3.938 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.5977, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.5977, allocations: 7.984 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.5979, allocations: 55.91 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008617/0.5987, allocations: 0.5356 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.5989, allocations: 93.08 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.571e-05/0.599, allocations: 53.77 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.599, allocations: 7.922 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.5992, allocations: 121.2 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.5992, allocations: 0 / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003422/0.5996, allocations: 171 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.5996, allocations: 81.11 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.5998, allocations: 202.5 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.5998, allocations: 33.7 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.5999, allocations: 120.4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.6, allocations: 35.62 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.249e-05/0.6001, allocations: 61.58 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6002, allocations: 330.8 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.6003, allocations: 32.11 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.6005, allocations: 152 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.6006, allocations: 111.4 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6007, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002574/0.6009, allocations: 157.4 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.6009, allocations: 9.969 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.601, allocations: 8 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.601, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.6011, allocations: 15.98 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.6011, allocations: 4 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.6013, allocations: 27.83 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.6013, allocations: 11.94 kB / 1.025 GB, free: 10.04 MB / 0.7794 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.0001321/0.6015, allocations: 140 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.6015, allocations: 15.81 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.6016, allocations: 25.52 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6016, allocations: 0 / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.6016, allocations: 4 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6016, allocations: 0 / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.6022, allocations: 463.5 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6022, allocations: 0 / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.6023, allocations: 16.03 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.6023, allocations: 3.984 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.6023, allocations: 7.875 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6023, allocations: 4 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6023, allocations: 0 / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.6026, allocations: 228.1 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.6026, allocations: 88.92 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.6027, allocations: 15.92 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.6028, allocations: 11.98 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.6029, allocations: 27.84 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.6029, allocations: 8 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001162/0.603, allocations: 139.2 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.603, allocations: 0 / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003185/0.6033, allocations: 51.84 kB / 1.026 GB, free: 8.719 MB / 0.7794 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.0006778/0.604, allocations: 0.842 MB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.6043, allocations: 95.91 kB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6043, allocations: 0 / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.6044, allocations: 51.92 kB / 1.027 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.6048, allocations: 66.09 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.6069, allocations: 1.962 MB / 1.029 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.6072, allocations: 0.7284 MB / 1.03 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.35e-05/0.6073, allocations: 21.53 kB / 1.03 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.6074, allocations: 55.42 kB / 1.03 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.6074, allocations: 0 / 1.03 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/0.6227, allocations: 5.129 MB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.6229, allocations: 274.4 kB / 1.035 GB, free: 15.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.49, allocations: 0 / 1.035 GB, free: 15.45 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches