Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.0007712/0.0007711, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005305/0.005305, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.478/2.478, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 8.688 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2347, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.001905/0.2366, allocations: 1.552 MB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.238, allocations: 0.9242 MB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-05/0.2381, allocations: 4 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.2383, allocations: 31.78 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.2386, allocations: 87.67 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.2389, allocations: 135.7 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.2392, allocations: 231.4 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2393, allocations: 33.66 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.2394, allocations: 103.6 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0503/0.2897, allocations: 3.604 MB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.2898, allocations: 11.94 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.2899, allocations: 31.98 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.2899, allocations: 31.84 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.29, allocations: 113.2 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.2903, allocations: 199.3 kB / 1.066 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2903, allocations: 0 / 1.066 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2903, allocations: 4 kB / 1.066 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2903, allocations: 0 / 1.066 GB, free: 14.65 MB / 0.8262 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.0006826/0.291, allocations: 0.5177 MB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.291, allocations: 8.031 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.2911, allocations: 46.73 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.2911, allocations: 20.75 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.2914, allocations: 247.2 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.2914, allocations: 8 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.2915, allocations: 12 kB / 1.067 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2916, allocations: 87.03 kB / 1.067 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2916, allocations: 3.984 kB / 1.067 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2917, allocations: 8 kB / 1.067 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2917, allocations: 0 / 1.067 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.2918, allocations: 59.86 kB / 1.067 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007096/0.2925, allocations: 468.5 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.2929, allocations: 154.7 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.293, allocations: 40.84 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.293, allocations: 0 / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.2932, allocations: 115.1 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.2932, allocations: 7.938 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0002973/0.2935, allocations: 168.1 kB / 1.068 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.2935, allocations: 55.41 kB / 1.068 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.2937, allocations: 200.2 kB / 1.068 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.2938, allocations: 33.7 kB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.2939, allocations: 124.5 kB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.2939, allocations: 27.56 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.2939, allocations: 29.7 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.294, allocations: 334.8 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.2941, allocations: 31.98 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.2943, allocations: 132.9 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.2945, allocations: 96.23 kB / 1.069 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2945, allocations: 0 / 1.069 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002299/0.2947, allocations: 155.7 kB / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2947, allocations: 11.94 kB / 1.069 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2947, allocations: 0 / 1.069 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2947, allocations: 4 kB / 1.069 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.2948, allocations: 16.06 kB / 1.069 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2948, allocations: 4 kB / 1.069 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.295, allocations: 39.81 kB / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.2951, allocations: 12 kB / 1.069 GB, free: 11.14 MB / 0.8262 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.0001172/0.2952, allocations: 135.5 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.2952, allocations: 15.81 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.2953, allocations: 29.86 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2953, allocations: 0 / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2953, allocations: 0 / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2953, allocations: 0 / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/0.2959, allocations: 0.4982 MB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2959, allocations: 0 / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.296, allocations: 4 kB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.296, allocations: 4.031 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.296, allocations: 11.94 kB / 1.07 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.296, allocations: 3.938 kB / 1.07 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.296, allocations: 3.938 kB / 1.07 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.2962, allocations: 231.3 kB / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.2963, allocations: 96.81 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.2963, allocations: 4 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.2965, allocations: 19.92 kB / 1.07 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.2965, allocations: 19.97 kB / 1.07 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.2966, allocations: 8 kB / 1.07 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001131/0.2967, allocations: 144.2 kB / 1.07 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.2967, allocations: 4 kB / 1.07 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002842/0.297, allocations: 51.98 kB / 1.07 GB, free: 9.773 MB / 0.8262 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.4308/0.7278, allocations: 0.8293 MB / 1.071 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.7281, allocations: 103.8 kB / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7281, allocations: 256 / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/0.7282, allocations: 55.92 kB / 1.071 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.7287, allocations: 61.45 kB / 1.071 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.7305, allocations: 1.913 MB / 1.073 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.7308, allocations: 0.7206 MB / 1.074 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.321e-05/0.7309, allocations: 29.47 kB / 1.074 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.324e-05/0.7309, allocations: 55.41 kB / 1.074 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.7309, allocations: 0 / 1.074 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1834/0.9144, allocations: 5.077 MB / 1.079 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004014/0.9148, allocations: 294.4 kB / 1.079 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.786, allocations: 0 / 1.079 GB, free: 0.6211 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches