Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_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.004834/0.004834, allocations: 102.1 kB / 15.73 MB, free: 6.438 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.001183/0.001183, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3168, allocations: 151.6 MB / 1.166 GB, free: 7.391 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003161/0.32, allocations: 1.505 MB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3215, allocations: 0.7479 MB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.3216, allocations: 3.938 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.3216, allocations: 3.938 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.3217, allocations: 11.88 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007306/0.3225, allocations: 131.6 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3226, allocations: 91.7 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3228, allocations: 15.97 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3229, allocations: 39.86 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.323, allocations: 47.81 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.323, allocations: 8 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.3233, allocations: 95.91 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.3233, allocations: 19.92 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.3234, allocations: 47.78 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.3236, allocations: 154.4 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3237, allocations: 0 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3237, allocations: 4 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3237, allocations: 0 / 1.169 GB, free: 4.453 MB / 0.92 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.0006548/0.3243, allocations: 463.4 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3244, allocations: 8.031 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.448e-05/0.3244, allocations: 38.73 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.3245, allocations: 8.844 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3246, allocations: 176.2 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.3247, allocations: 4.375 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3247, allocations: 8.375 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.3249, allocations: 97.62 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3249, allocations: 0 / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.325, allocations: 4 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.325, allocations: 0 / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.3251, allocations: 51.95 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.3257, allocations: 324.7 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3259, allocations: 62.56 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.326, allocations: 52.92 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3261, allocations: 3.984 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.3263, allocations: 95.39 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.3263, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.000508/0.3269, allocations: 185.5 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.3269, allocations: 59.41 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3271, allocations: 133 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3271, allocations: 33.7 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.3272, allocations: 84.38 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.3272, allocations: 23.73 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.3273, allocations: 33.7 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3274, allocations: 318.8 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.3275, allocations: 35.97 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.3276, allocations: 67.83 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.3278, allocations: 113.9 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3278, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000266/0.3281, allocations: 141.3 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3281, allocations: 4.156 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3282, allocations: 8 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3282, allocations: 0 / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3283, allocations: 19.92 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3283, allocations: 7.984 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.3284, allocations: 8 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3284, allocations: 4 kB / 1.172 GB, free: 1.543 MB / 0.92 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.000111/0.3285, allocations: 135.7 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.3285, allocations: 11.91 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.3286, allocations: 8.375 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3286, allocations: 0 / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3286, allocations: 8.375 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3286, allocations: 3.938 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.3292, allocations: 438.2 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3292, allocations: 4 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.3292, allocations: 3.984 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3293, allocations: 8 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3293, allocations: 0 / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3293, allocations: 0 / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3293, allocations: 3.938 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.3297, allocations: 247.5 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.3297, allocations: 85 kB / 1.172 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.3297, allocations: 7.984 kB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.3298, allocations: 4 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3299, allocations: 11.92 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3299, allocations: 8 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.257e-05/0.33, allocations: 95.27 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.33, allocations: 0 / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.000319/0.3303, allocations: 47.92 kB / 1.173 GB, free: 344 kB / 0.92 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.0008627/0.3312, allocations: 0.8359 MB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.3315, allocations: 91.83 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3315, allocations: 4.312 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.3316, allocations: 55.91 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3319, allocations: 11.88 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3337, allocations: 1.613 MB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.334, allocations: 0.6962 MB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.908e-05/0.334, allocations: 4 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.3341, allocations: 23.42 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.3341, allocations: 0 / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.354, allocations: 2.993 MB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.265, allocations: 14.33 kB / 1.179 GB, free: 10.01 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.ADown,bli.AUp,bli.BDown,bli.BUp,bli.H,bli.blindState,bli.occ,bli.pDown,bli.pUp,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time