Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.001337/0.001337, allocations: 112.5 kB / 15.74 MB, free: 68 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.001246/0.001246, allocations: 198 kB / 16.67 MB, free: 6.582 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 75.88 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2938, allocations: 162.2 MB / 1.241 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002114/0.2959, allocations: 1.223 MB / 1.243 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008273/0.2968, allocations: 426.6 kB / 1.243 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.2968, allocations: 0 / 1.243 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.2968, allocations: 0 / 1.243 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.2969, allocations: 3.938 kB / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.2973, allocations: 107.6 kB / 1.243 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.582e-05/0.2974, allocations: 23.86 kB / 1.243 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.2975, allocations: 7.984 kB / 1.243 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.96e-05/0.2975, allocations: 8 kB / 1.243 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.991e-05/0.2975, allocations: 11.92 kB / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.2975, allocations: 0 / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.2977, allocations: 99.91 kB / 1.243 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.2978, allocations: 3.984 kB / 1.243 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.2978, allocations: 15.92 kB / 1.243 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.298, allocations: 95.69 kB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.298, allocations: 3.938 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.298, allocations: 4 kB / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.298, allocations: 0 / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004628/0.2985, allocations: 380.9 kB / 1.244 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2985, allocations: 8.031 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.342e-05/0.2986, allocations: 30.75 kB / 1.244 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.2986, allocations: 8.891 kB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2987, allocations: 160.4 kB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.2988, allocations: 12.38 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.2988, allocations: 384 / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.2989, allocations: 42.23 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2989, allocations: 3.938 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.2989, allocations: 0 / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.2989, allocations: 3.938 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.251e-05/0.299, allocations: 8 kB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.2993, allocations: 245 kB / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.2994, allocations: 42.5 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.2994, allocations: 16.94 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-06/0.2994, allocations: 4 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.2996, allocations: 59.34 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 3.557e-06/0.2996, allocations: 3.984 kB / 1.244 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001979/0.2998, allocations: 81.62 kB / 1.244 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.2998, allocations: 51.41 kB / 1.244 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/0.2999, allocations: 105.8 kB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2999, allocations: 25.7 kB / 1.245 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.3, allocations: 80.14 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.3, allocations: 19.84 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.3001, allocations: 21.66 kB / 1.245 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3002, allocations: 322.8 kB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.3002, allocations: 12 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.374e-05/0.3003, allocations: 35.42 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.929e-05/0.3004, allocations: 47.38 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3004, allocations: 3.938 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001218/0.3005, allocations: 73.61 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.3005, allocations: 4 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3005, allocations: 4 kB / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.3005, allocations: 0 / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/0.3006, allocations: 8 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3006, allocations: 12.06 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.3006, allocations: 8 kB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3007, allocations: 0 / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.473e-05/0.3007, allocations: 122.2 kB / 1.245 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.3008, allocations: 8.016 kB / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.3008, allocations: 7.562 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3008, allocations: 0 / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3008, allocations: 0 / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3008, allocations: 0 / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.3011, allocations: 302.5 kB / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3011, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.3011, allocations: 4 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3012, allocations: 0 / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.3012, allocations: 0 / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3012, allocations: 4 kB / 1.246 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3012, allocations: 4.297 kB / 1.246 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.3013, allocations: 163.5 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.3014, allocations: 89 kB / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3014, allocations: 0 / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/0.3015, allocations: 3.984 kB / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.3015, allocations: 4.281 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.3015, allocations: 4 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.3016, allocations: 87.27 kB / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.276e-06/0.3016, allocations: 0 / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002863/0.3019, allocations: 47.73 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007152/0.3026, allocations: 0.7621 MB / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.3027, allocations: 35.92 kB / 1.247 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3027, allocations: 0 / 1.247 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.3028, allocations: 23.97 kB / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.303, allocations: 0 / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.3041, allocations: 1.273 MB / 1.248 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3044, allocations: 0.6768 MB / 1.249 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.533e-05/0.3045, allocations: 8.188 kB / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.3045, allocations: 15.44 kB / 1.249 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.3045, allocations: 0 / 1.249 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.3273, allocations: 2.019 MB / 1.251 GB, free: 292 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.958, allocations: 16.09 kB / 1.251 GB, free: 280 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y