Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.005097/0.005097, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001478/0.001478, allocations: 197.5 kB / 16.67 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.857/2.857, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2714, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002673/0.2741, allocations: 1.487 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2754, allocations: 0.7245 MB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.2755, allocations: 3.938 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.2755, allocations: 3.938 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.423e-05/0.2756, allocations: 19.86 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.2761, allocations: 111.6 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.2762, allocations: 71.78 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.2763, allocations: 19.92 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.2764, allocations: 35.86 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.2765, allocations: 31.84 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2765, allocations: 8 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.2767, allocations: 91.91 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.2767, allocations: 15.92 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.2768, allocations: 39.78 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.277, allocations: 139.5 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2771, allocations: 0 / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2771, allocations: 0 / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2771, allocations: 0 / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005939/0.2777, allocations: 450.4 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2777, allocations: 8.031 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.2778, allocations: 38.75 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.2778, allocations: 8.891 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2779, allocations: 172.3 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.278, allocations: 4.312 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.278, allocations: 12.38 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.2782, allocations: 73.72 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2782, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2782, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2782, allocations: 4 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.2784, allocations: 35.97 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.2789, allocations: 300.7 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.279, allocations: 54.5 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.2791, allocations: 32.97 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2792, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.2793, allocations: 71.38 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 3.517e-06/0.2794, allocations: 3.984 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004349/0.2798, allocations: 141.6 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.2799, allocations: 59.34 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.28, allocations: 121.8 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.28, allocations: 25.7 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.2801, allocations: 100.2 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.2801, allocations: 11.91 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.2801, allocations: 29.7 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2803, allocations: 318.8 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.2804, allocations: 19.98 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.2805, allocations: 65.56 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.2807, allocations: 93.06 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2807, allocations: 0 / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002444/0.2809, allocations: 113.5 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2809, allocations: 11.94 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.281, allocations: 0 / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.281, allocations: 4.156 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.2811, allocations: 15.94 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2811, allocations: 7.984 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.336e-05/0.2812, allocations: 11.88 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.2812, allocations: 8 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.777e-05/0.2813, allocations: 121.7 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.2813, allocations: 7.953 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.2813, allocations: 12.36 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2813, allocations: 4 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2814, allocations: 0 / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2814, allocations: 4 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.2819, allocations: 374.7 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2819, allocations: 0 / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.2819, allocations: 4 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2819, allocations: 3.938 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.282, allocations: 7.984 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.282, allocations: 4.016 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.282, allocations: 7.984 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.2823, allocations: 203.5 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.2823, allocations: 93.05 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2824, allocations: 0 / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.2825, allocations: 7.938 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.2825, allocations: 3.984 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2825, allocations: 8 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.479e-05/0.2826, allocations: 99.42 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2826, allocations: 0 / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003017/0.2829, allocations: 35.88 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008456/0.2838, allocations: 0.8109 MB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.284, allocations: 71.88 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.284, allocations: 0 / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.2841, allocations: 35.92 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.2844, allocations: 22.42 kB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2861, allocations: 1.51 MB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.2864, allocations: 0.6885 MB / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.2865, allocations: 8 kB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.2865, allocations: 19.42 kB / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2865, allocations: 0 / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.3095, allocations: 2.645 MB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/7.954, allocations: 2.5 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable bli.TOut in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.TOut from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! " Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:time,TOut.y,bli.blindState,bli.pDown,TOut.amplitude,TOut.f