Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.007516/0.007516, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.002097/0.002097, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 68.09 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2681, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002533/0.2707, allocations: 1.507 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.272, allocations: 0.7478 MB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.272, allocations: 3.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.272, allocations: 7.938 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.2721, allocations: 15.86 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.2726, allocations: 135.5 kB / 1.223 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.2728, allocations: 83.83 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.491e-05/0.2728, allocations: 8 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.2729, allocations: 55.77 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/0.273, allocations: 39.84 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.2731, allocations: 8 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.2733, allocations: 95.91 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.2733, allocations: 23.95 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.2734, allocations: 35.8 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.2736, allocations: 159.4 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2736, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2736, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2736, allocations: 0 / 1.223 GB, free: 11.4 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006216/0.2743, allocations: 466.3 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2743, allocations: 8.031 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.2744, allocations: 42.73 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.2744, allocations: 12.84 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2745, allocations: 176.3 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.2746, allocations: 12.3 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.2746, allocations: 8.375 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.2748, allocations: 81.77 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2748, allocations: 4 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2749, allocations: 7.984 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2749, allocations: 4 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.275, allocations: 43.97 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.2756, allocations: 316.6 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.2758, allocations: 70.55 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.2759, allocations: 40.84 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.2759, allocations: 7.938 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.2761, allocations: 91.39 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.2762, allocations: 4 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005121/0.2767, allocations: 189.5 kB / 1.225 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.2767, allocations: 55.41 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.2768, allocations: 129.8 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.2769, allocations: 29.7 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.2769, allocations: 96.52 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.277, allocations: 23.78 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.277, allocations: 37.64 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2772, allocations: 326.8 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.912e-05/0.2773, allocations: 31.98 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.2774, allocations: 75.67 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.2776, allocations: 109.9 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2776, allocations: 0 / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002833/0.2779, allocations: 133.6 kB / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.278, allocations: 4 kB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.278, allocations: 4 kB / 1.226 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.278, allocations: 0 / 1.226 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/0.2781, allocations: 23.92 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.2781, allocations: 4 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.2782, allocations: 11.94 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.2782, allocations: 4 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.0001119/0.2783, allocations: 140.5 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.2783, allocations: 11.95 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.2784, allocations: 8.469 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2784, allocations: 7.984 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2784, allocations: 0 / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2784, allocations: 4.359 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.279, allocations: 430.3 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.279, allocations: 0 / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.2791, allocations: 8 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2791, allocations: 0 / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.2791, allocations: 7.984 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2791, allocations: 0 / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2791, allocations: 7.938 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.2795, allocations: 243.4 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.2795, allocations: 85.06 kB / 1.226 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.2796, allocations: 8 kB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2797, allocations: 4 kB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.2797, allocations: 11.92 kB / 1.226 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.2798, allocations: 0 / 1.226 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.409e-05/0.2798, allocations: 99.27 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2798, allocations: 0 / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003142/0.2801, allocations: 51.8 kB / 1.227 GB, free: 7.27 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009259/0.2811, allocations: 0.8403 MB / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.2814, allocations: 92.08 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2814, allocations: 0 / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.2815, allocations: 51.91 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.2818, allocations: 25.44 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.2836, allocations: 1.607 MB / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.2839, allocations: 0.6885 MB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.284, allocations: 8.188 kB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.284, allocations: 27.42 kB / 1.23 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.284, allocations: 0 / 1.23 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.3077, allocations: 3.001 MB / 1.233 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.176, allocations: 0 / 1.233 GB, free: 0.9492 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_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_Zhang2012BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.H in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! " Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:time,H.y,bli.blindState,bli.pDown,bli.pUp,H.amplitude