Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 497.2 MB / 0.7812 GB, free: 11.91 MB / 0.6231 GB " [Timeout remaining time 176] 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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 71.89 kB / 1.134 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9872/0.9894, allocations: 173.9 MB / 1.304 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003623/0.993, allocations: 1.748 MB / 1.306 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.995, allocations: 0.9092 MB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.9951, allocations: 6.094 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.9953, allocations: 26.34 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000487/0.9958, allocations: 118.2 kB / 1.307 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.9963, allocations: 153.5 kB / 1.307 GB, free: 13.54 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.9967, allocations: 242.4 kB / 1.307 GB, free: 13.44 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.9968, allocations: 34.89 kB / 1.307 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.997, allocations: 117.5 kB / 1.307 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01647/1.013, allocations: 2.002 MB / 1.309 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/1.014, allocations: 18.31 kB / 1.309 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/1.014, allocations: 37.61 kB / 1.309 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/1.014, allocations: 40.38 kB / 1.309 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/1.014, allocations: 91.44 kB / 1.309 GB, free: 12.74 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005959/1.015, allocations: 219.4 kB / 1.31 GB, free: 12.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.015, allocations: 1.188 kB / 1.31 GB, free: 12.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/1.015, allocations: 0 / 1.31 GB, free: 12.65 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.184e-05/1.015, allocations: 0 / 1.31 GB, free: 12.65 MB / 1.014 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.00123/1.016, allocations: 0.5597 MB / 1.31 GB, free: 12.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.016, allocations: 10.62 kB / 1.31 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.451e-05/1.016, allocations: 44.05 kB / 1.31 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/1.016, allocations: 23.94 kB / 1.31 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/1.017, allocations: 247.8 kB / 1.31 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/1.017, allocations: 9.562 kB / 1.31 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/1.017, allocations: 14.97 kB / 1.31 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/1.017, allocations: 117 kB / 1.311 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.017, allocations: 0.6094 kB / 1.311 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/1.017, allocations: 6.469 kB / 1.311 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/1.017, allocations: 2.5 kB / 1.311 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/1.017, allocations: 49.05 kB / 1.311 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/1.018, allocations: 0.5445 MB / 1.311 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/1.018, allocations: 93.62 kB / 1.311 GB, free: 11.24 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.24e-05/1.018, allocations: 38.94 kB / 1.311 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/1.018, allocations: 17.03 kB / 1.311 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/1.019, allocations: 121.5 kB / 1.311 GB, free: 11.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/1.019, allocations: 1.094 kB / 1.311 GB, free: 11.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0004354/1.019, allocations: 159 kB / 1.312 GB, free: 11.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/1.019, allocations: 81.83 kB / 1.312 GB, free: 10.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/1.02, allocations: 206.5 kB / 1.312 GB, free: 10.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/1.02, allocations: 30.48 kB / 1.312 GB, free: 10.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/1.02, allocations: 126.8 kB / 1.312 GB, free: 10.65 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/1.02, allocations: 35.06 kB / 1.312 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.02, allocations: 61.02 kB / 1.312 GB, free: 10.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.02, allocations: 328.5 kB / 1.312 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/1.02, allocations: 38.78 kB / 1.312 GB, free: 10.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/1.02, allocations: 142.2 kB / 1.313 GB, free: 10.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/1.021, allocations: 116.3 kB / 1.313 GB, free: 10.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.021, allocations: 0 / 1.313 GB, free: 10.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003089/1.021, allocations: 157.1 kB / 1.313 GB, free: 9.973 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.021, allocations: 6.109 kB / 1.313 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.021, allocations: 1.594 kB / 1.313 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.021, allocations: 2.938 kB / 1.313 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.583e-05/1.021, allocations: 22.86 kB / 1.313 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.021, allocations: 3.281 kB / 1.313 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/1.021, allocations: 29.41 kB / 1.313 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/1.021, allocations: 6.031 kB / 1.313 GB, free: 9.953 MB / 1.014 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.0001563/1.021, allocations: 142.6 kB / 1.313 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/1.022, allocations: 21.41 kB / 1.313 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/1.022, allocations: 19.78 kB / 1.313 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/1.022, allocations: 5.344 kB / 1.313 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/1.022, allocations: 1.828 kB / 1.313 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.022, allocations: 5.734 kB / 1.313 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/1.022, allocations: 463.3 kB / 1.314 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.022, allocations: 0 / 1.314 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/1.022, allocations: 8.688 kB / 1.314 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.022, allocations: 2.188 kB / 1.314 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/1.022, allocations: 9.688 kB / 1.314 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/1.022, allocations: 5.625 kB / 1.314 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.022, allocations: 1.125 kB / 1.314 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/1.023, allocations: 227.1 kB / 1.314 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/1.023, allocations: 94.33 kB / 1.314 GB, free: 9.129 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/1.023, allocations: 7.109 kB / 1.314 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/1.023, allocations: 14.81 kB / 1.314 GB, free: 9.121 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/1.023, allocations: 23.22 kB / 1.314 GB, free: 9.113 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/1.023, allocations: 6.781 kB / 1.314 GB, free: 9.113 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000177/1.023, allocations: 145 kB / 1.314 GB, free: 9.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.023, allocations: 1.25 kB / 1.314 GB, free: 9.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003397/1.024, allocations: 47.7 kB / 1.314 GB, free: 9.008 MB / 1.014 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.0009222/1.024, allocations: 0.8393 MB / 1.315 GB, free: 8.273 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000271/1.025, allocations: 98.11 kB / 1.315 GB, free: 8.238 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.025, allocations: 1.125 kB / 1.315 GB, free: 8.238 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.838e-05/1.025, allocations: 42.52 kB / 1.315 GB, free: 8.223 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/1.025, allocations: 64.91 kB / 1.315 GB, free: 8.191 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/1.028, allocations: 1.927 MB / 1.317 GB, free: 6.535 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/1.028, allocations: 0.7247 MB / 1.318 GB, free: 5.816 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001099/1.028, allocations: 26.95 kB / 1.318 GB, free: 5.801 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/1.028, allocations: 55.31 kB / 1.318 GB, free: 5.758 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.028, allocations: 0 / 1.318 GB, free: 5.758 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/1.063, allocations: 5.562 MB / 1.323 GB, free: 2.961 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.429/9.492, allocations: 10.59 kB / 1.323 GB, free: 2.957 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.959536018781364]