Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.005662/0.005662, allocations: 100.8 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.001456/0.001456, allocations: 192.1 kB / 16.67 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.605/2.605, allocations: 482.7 MB / 0.7551 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 64.06 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3053, allocations: 162.3 MB / 1.242 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002262/0.3076, allocations: 1.233 MB / 1.243 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009491/0.3086, allocations: 464.3 kB / 1.243 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.3087, allocations: 0 / 1.243 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.3087, allocations: 7.938 kB / 1.243 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.144e-05/0.3087, allocations: 0 / 1.243 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.3093, allocations: 111.6 kB / 1.244 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.487e-05/0.3093, allocations: 19.92 kB / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.3094, allocations: 7.984 kB / 1.244 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.3094, allocations: 11.94 kB / 1.244 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.09e-05/0.3095, allocations: 7.984 kB / 1.244 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3095, allocations: 0 / 1.244 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.3097, allocations: 95.91 kB / 1.244 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.3097, allocations: 19.84 kB / 1.244 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.3098, allocations: 11.94 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.31, allocations: 108 kB / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.31, allocations: 0 / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.31, allocations: 0 / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.31, allocations: 4 kB / 1.244 GB, free: 6.816 MB / 0.9669 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.0004708/0.3105, allocations: 380.9 kB / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3105, allocations: 8.031 kB / 1.244 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.3106, allocations: 38.7 kB / 1.244 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.3106, allocations: 4.938 kB / 1.244 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3107, allocations: 164.4 kB / 1.244 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.3108, allocations: 8.359 kB / 1.244 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.3108, allocations: 4.375 kB / 1.244 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.3109, allocations: 38.19 kB / 1.244 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3109, allocations: 3.938 kB / 1.244 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3109, allocations: 3.938 kB / 1.244 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3109, allocations: 4 kB / 1.244 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.554e-05/0.311, allocations: 11.98 kB / 1.244 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.3113, allocations: 252.9 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.601e-05/0.3114, allocations: 30.52 kB / 1.245 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.3114, allocations: 24.88 kB / 1.245 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3115, allocations: 7.938 kB / 1.245 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.3116, allocations: 59.39 kB / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.3116, allocations: 0 / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001969/0.3118, allocations: 69.69 kB / 1.245 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3119, allocations: 55.41 kB / 1.245 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.312, allocations: 105.8 kB / 1.245 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.312, allocations: 33.7 kB / 1.245 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.312, allocations: 80.14 kB / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.3121, allocations: 19.89 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.3121, allocations: 17.72 kB / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3123, allocations: 318.8 kB / 1.246 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.3123, allocations: 12 kB / 1.246 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.454e-05/0.3123, allocations: 39.41 kB / 1.246 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/0.3124, allocations: 43.88 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3124, allocations: 11.94 kB / 1.246 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001122/0.3125, allocations: 73.56 kB / 1.246 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3126, allocations: 4 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3126, allocations: 4 kB / 1.246 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3126, allocations: 4 kB / 1.246 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/0.3126, allocations: 11.94 kB / 1.246 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3127, allocations: 0 / 1.246 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.3127, allocations: 8 kB / 1.246 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.3127, allocations: 0 / 1.246 GB, free: 4.633 MB / 0.9669 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.629e-05/0.3128, allocations: 121.8 kB / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.3128, allocations: 7.953 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.3128, allocations: 7.969 kB / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3128, allocations: 0 / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3129, allocations: 0 / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3129, allocations: 0 / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.3132, allocations: 310.4 kB / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3132, allocations: 0 / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.3132, allocations: 4 kB / 1.246 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.3132, allocations: 7.938 kB / 1.246 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.3132, allocations: 0 / 1.246 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3132, allocations: 4 kB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3132, allocations: 0 / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.3134, allocations: 167.4 kB / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3134, allocations: 81.06 kB / 1.246 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.3135, allocations: 0 / 1.246 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.943e-05/0.3135, allocations: 4 kB / 1.246 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.3135, allocations: 15.92 kB / 1.246 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3136, allocations: 0 / 1.246 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.3136, allocations: 87.41 kB / 1.247 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3136, allocations: 0 / 1.247 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002744/0.3139, allocations: 39.86 kB / 1.247 GB, free: 3.688 MB / 0.9669 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.0007289/0.3146, allocations: 0.7644 MB / 1.247 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.3148, allocations: 31.92 kB / 1.247 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3148, allocations: 0 / 1.247 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.3148, allocations: 19.98 kB / 1.247 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.315, allocations: 2.031 kB / 1.247 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.3161, allocations: 1.307 MB / 1.249 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3164, allocations: 0.6807 MB / 1.249 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.784e-05/0.3165, allocations: 0 / 1.249 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.3165, allocations: 15.44 kB / 1.249 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of SimCode: time 2.265e-06/0.3165, allocations: 4 kB / 1.249 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.3379, allocations: 2.088 MB / 1.251 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.918, allocations: 11.48 kB / 1.251 GB, free: 14.75 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,time,x,y