Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.ExponentialVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",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.0009584/0.0009583, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0009735/0.0009734, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.683/2.683, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005114/0.0005117, allocations: 12.22 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8113/0.8119, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001552/0.8135, allocations: 0.9255 MB / 0.982 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008508/0.8144, allocations: 369.4 kB / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.8144, allocations: 0 / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.8144, allocations: 0 / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.393e-05/0.8145, allocations: 7.875 kB / 0.9824 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.8151, allocations: 79.84 kB / 0.9825 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.8151, allocations: 15.92 kB / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.8152, allocations: 0 / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.8152, allocations: 4 kB / 0.9825 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.047e-05/0.8153, allocations: 15.98 kB / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.8153, allocations: 0 / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.8156, allocations: 83.84 kB / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.8156, allocations: 4 kB / 0.9826 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.8157, allocations: 29.7 kB / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.8158, allocations: 55.91 kB / 0.9827 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.8158, allocations: 0 / 0.9827 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8159, allocations: 0 / 0.9827 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8159, allocations: 0 / 0.9827 GB, free: 4.688 MB / 0.7325 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.0005204/0.8164, allocations: 339.3 kB / 0.983 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.8165, allocations: 12.03 kB / 0.983 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.361e-05/0.8165, allocations: 30.56 kB / 0.983 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.8166, allocations: 7.984 kB / 0.983 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.8167, allocations: 169.2 kB / 0.9832 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.8168, allocations: 0 / 0.9832 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.8168, allocations: 8 kB / 0.9832 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.8169, allocations: 37.64 kB / 0.9832 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.8169, allocations: 3.938 kB / 0.9833 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.8169, allocations: 4 kB / 0.9833 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.8169, allocations: 4 kB / 0.9833 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.559e-05/0.817, allocations: 7.984 kB / 0.9833 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.8174, allocations: 248.9 kB / 0.9835 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.366e-05/0.8175, allocations: 26.58 kB / 0.9835 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.8176, allocations: 24.89 kB / 0.9836 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.8176, allocations: 4 kB / 0.9836 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.8177, allocations: 51.41 kB / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.8178, allocations: 3.938 kB / 0.9836 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002308/0.818, allocations: 81.52 kB / 0.9837 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.8181, allocations: 51.41 kB / 0.9837 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.8181, allocations: 97.84 kB / 0.9838 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.8182, allocations: 33.83 kB / 0.9839 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.8182, allocations: 84.14 kB / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.8182, allocations: 15.75 kB / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.8183, allocations: 0 / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8184, allocations: 310.8 kB / 0.9843 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.8184, allocations: 15.98 kB / 0.9843 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-05/0.8185, allocations: 31.44 kB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.8185, allocations: 23.92 kB / 0.9843 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8185, allocations: 0 / 0.9843 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001407/0.8187, allocations: 73.56 kB / 0.9844 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.8187, allocations: 4 kB / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.8187, allocations: 0 / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8187, allocations: 4 kB / 0.9844 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/0.8188, allocations: 11.98 kB / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.8188, allocations: 0 / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.8189, allocations: 8.062 kB / 0.9844 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.8189, allocations: 0 / 0.9844 GB, free: 2.652 MB / 0.7325 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 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.541e-05/0.819, allocations: 117.8 kB / 0.9845 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.819, allocations: 3.953 kB / 0.9845 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.819, allocations: 3.562 kB / 0.9845 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.819, allocations: 4 kB / 0.9845 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.819, allocations: 0 / 0.9845 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.8191, allocations: 4.234 kB / 0.9845 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.8194, allocations: 310.4 kB / 0.9848 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8194, allocations: 0 / 0.9848 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.8194, allocations: 7.938 kB / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.8194, allocations: 0 / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.8194, allocations: 4 kB / 0.9849 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.8194, allocations: 3.984 kB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8194, allocations: 0 / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.8196, allocations: 155.5 kB / 0.985 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.8197, allocations: 85.06 kB / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.8197, allocations: 0 / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-05/0.8198, allocations: 3.984 kB / 0.9851 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.8198, allocations: 7.938 kB / 0.9851 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.8198, allocations: 0 / 0.9851 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.8198, allocations: 83.28 kB / 0.9852 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8199, allocations: 0 / 0.9852 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00035/0.8202, allocations: 27.98 kB / 0.9852 GB, free: 1.75 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008617/0.8211, allocations: 0.7584 MB / 0.9859 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.8212, allocations: 39.91 kB / 0.986 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8212, allocations: 0 / 0.986 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.8213, allocations: 16.12 kB / 0.986 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.8215, allocations: 10.61 kB / 0.986 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007441/0.8223, allocations: 400.9 kB / 0.9864 GB, free: 472 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.8226, allocations: 0.677 MB / 0.9871 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.8226, allocations: 4 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.8226, allocations: 11.42 kB / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/0.8226, allocations: 0 / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.8367, allocations: 1.687 MB / 0.9887 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000541/0.8373, allocations: 249.6 kB / 0.989 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.614, allocations: 0 / 0.989 GB, free: 13.91 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat does not exist to compare? outputFormat=mat