Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009993/0.0009995, allocations: 88.2 kB / 16.03 MB, free: 56 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 187.7 kB / 16.93 MB, free: 6.688 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.762/2.762, allocations: 462.6 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003989, allocations: 15.73 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2889, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001557/0.2905, allocations: 1.221 MB / 1.061 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.2917, allocations: 0.7517 MB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.2918, allocations: 0 / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.2918, allocations: 7.938 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.2919, allocations: 7.875 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.2924, allocations: 111.8 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.2925, allocations: 71.84 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.2926, allocations: 15.97 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.721e-05/0.2927, allocations: 47.8 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.2928, allocations: 43.81 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.2928, allocations: 4 kB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.293, allocations: 83.91 kB / 1.062 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.2931, allocations: 19.92 kB / 1.062 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.2931, allocations: 57.56 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.2933, allocations: 116 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2933, allocations: 0 / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.248e-06/0.2933, allocations: 0 / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2933, allocations: 11.88 kB / 1.062 GB, free: 2.352 MB / 0.8106 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.0005722/0.2939, allocations: 434.7 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.294, allocations: 15.97 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.294, allocations: 8.844 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2942, allocations: 168.3 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.2942, allocations: 12.36 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.2942, allocations: 4.375 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.2945, allocations: 97.89 kB / 1.063 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2945, allocations: 0 / 1.063 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.2945, allocations: 3.984 kB / 1.063 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.2945, allocations: 4 kB / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.2947, allocations: 47.97 kB / 1.063 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.2953, allocations: 328.7 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.2954, allocations: 74.58 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.2956, allocations: 44.83 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.2956, allocations: 4 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.2958, allocations: 103.2 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.2958, allocations: 0 / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004914/0.2963, allocations: 193.5 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.2964, allocations: 59.41 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2965, allocations: 125.7 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.2965, allocations: 33.7 kB / 1.064 GB, free: 424 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.2966, allocations: 88.36 kB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.2966, allocations: 15.81 kB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.2966, allocations: 33.64 kB / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2968, allocations: 322.8 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.2969, allocations: 35.92 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.297, allocations: 80.95 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.2972, allocations: 113.9 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2972, allocations: 3.938 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002726/0.2975, allocations: 149.3 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2975, allocations: 4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2975, allocations: 4 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2975, allocations: 4 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.2976, allocations: 20.14 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2977, allocations: 7.938 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.2977, allocations: 12 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.2977, allocations: 4 kB / 1.064 GB, free: 15.46 MB / 0.8262 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 9.263e-05/0.2978, allocations: 121.8 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.2979, allocations: 11.91 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.2979, allocations: 8.375 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2979, allocations: 4 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2979, allocations: 0 / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2979, allocations: 0 / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.2985, allocations: 446.6 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2985, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.2986, allocations: 12.02 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2986, allocations: 7.938 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2986, allocations: 0 / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2986, allocations: 0 / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2986, allocations: 11.92 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.299, allocations: 247.3 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.299, allocations: 81.11 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.299, allocations: 7.984 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2991, allocations: 8 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.2992, allocations: 12.02 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2992, allocations: 4 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.2993, allocations: 102.3 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2993, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003155/0.2996, allocations: 47.89 kB / 1.065 GB, free: 14.26 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: 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.0003402/0.2999, allocations: 169.7 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3002, allocations: 103.9 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3002, allocations: 4.312 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3004, allocations: 47.97 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.3007, allocations: 15.98 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.3011, allocations: 254.7 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3013, allocations: 0.6887 MB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.3014, allocations: 15.44 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of SimCode: time 4.1e-07/0.3014, allocations: 0 / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.003496/0.3049, allocations: 1.771 MB / 1.068 GB, free: 11.14 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches