Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",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.000832/0.000832, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.0008462/0.0008462, allocations: 172.7 kB / 15.95 MB, free: 204 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.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.693/2.693, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004029, allocations: 12 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7464, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004557/0.751, allocations: 3.65 MB / 0.9847 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.7544, allocations: 2.066 MB / 0.9867 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.7546, allocations: 7.938 kB / 0.9867 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.7549, allocations: 63.48 kB / 0.9868 GB, free: 464 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005593/0.7555, allocations: 223 kB / 0.987 GB, free: 240 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007237/0.7562, allocations: 259.5 kB / 0.9873 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0006179/0.7568, allocations: 0.6542 MB / 0.9879 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.7581, allocations: 0.5998 MB / 0.9885 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.7584, allocations: 187.3 kB / 0.9887 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.759, allocations: 251.2 kB / 0.9889 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.7591, allocations: 16 kB / 0.9889 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.7594, allocations: 151.8 kB / 0.9891 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.7596, allocations: 147.6 kB / 0.9892 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.7597, allocations: 97.45 kB / 0.9893 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.7603, allocations: 0.4892 MB / 0.9898 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.7603, allocations: 0 / 0.9898 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7603, allocations: 0 / 0.9898 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.7603, allocations: 0 / 0.9898 GB, free: 13.38 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001114/0.7614, allocations: 0.6355 MB / 0.9904 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.7615, allocations: 8.031 kB / 0.9904 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.7616, allocations: 78.53 kB / 0.9905 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000927/0.7625, allocations: 139.3 kB / 0.9906 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.763, allocations: 315.3 kB / 0.9909 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.763, allocations: 32.94 kB / 0.9909 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.7631, allocations: 36 kB / 0.991 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.7641, allocations: 0.626 MB / 0.9916 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.7641, allocations: 0 / 0.9916 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.7642, allocations: 27.91 kB / 0.9916 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.86e-05/0.7643, allocations: 44.62 kB / 0.9917 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007848/0.7651, allocations: 478 kB / 0.9921 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/0.7685, allocations: 3.421 MB / 0.9954 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/0.7692, allocations: 376.8 kB / 0.9958 GB, free: 6.73 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.7695, allocations: 173.6 kB / 0.996 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.7695, allocations: 11.97 kB / 0.996 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.29e-05/0.7696, allocations: 38.5 kB / 0.996 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 2.315e-06/0.7696, allocations: 0 / 0.996 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.004211/0.7738, allocations: 1.458 MB / 0.9974 GB, free: 4.988 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.7738, allocations: 81.11 kB / 0.9975 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.7742, allocations: 332.2 kB / 0.9978 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.7742, allocations: 29.7 kB / 0.9979 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.7744, allocations: 259.3 kB / 0.9981 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.7745, allocations: 98.64 kB / 0.9982 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.7745, allocations: 8 kB / 0.9982 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7746, allocations: 346.8 kB / 0.9985 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.7749, allocations: 169 kB / 0.9987 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.7753, allocations: 342.1 kB / 0.999 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.7756, allocations: 223.8 kB / 0.9992 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.7756, allocations: 4 kB / 0.9993 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002208/0.7778, allocations: 0.9087 MB / 1 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.778, allocations: 246.8 kB / 1 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.7781, allocations: 4 kB / 1 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.7802, allocations: 0.5088 MB / 1.001 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.7806, allocations: 91.81 kB / 1.001 GB, free: 1.176 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005355/0.7859, allocations: 3.782 MB / 1.005 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.7863, allocations: 35.81 kB / 1.005 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.7864, allocations: 24.06 kB / 1.005 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.7864, allocations: 4 kB / 1.005 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007775/0.7872, allocations: 487.8 kB / 1.005 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.7872, allocations: 4 kB / 1.005 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.7872, allocations: 8 kB / 1.005 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.7876, allocations: 111.8 kB / 1.005 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.7876, allocations: 11.98 kB / 1.005 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.7879, allocations: 27.83 kB / 1.005 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.7879, allocations: 20 kB / 1.005 GB, free: 12.4 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002742/0.7882, allocations: 284.9 kB / 1.006 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.7883, allocations: 31.62 kB / 1.006 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.7899, allocations: 0.6672 MB / 1.006 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.7899, allocations: 4 kB / 1.006 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.79, allocations: 0 / 1.006 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.79, allocations: 7.938 kB / 1.006 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008925/0.7909, allocations: 0.6598 MB / 1.007 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.7909, allocations: 0 / 1.007 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.7911, allocations: 43.95 kB / 1.007 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.7925, allocations: 413.2 kB / 1.007 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.7925, allocations: 4 kB / 1.007 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/0.7962, allocations: 3.471 MB / 1.011 GB, free: 6.473 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7962, allocations: 3.938 kB / 1.011 GB, free: 6.469 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.7978, allocations: 0.8239 MB / 1.012 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.798, allocations: 144.6 kB / 1.012 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.798, allocations: 8 kB / 1.012 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.7984, allocations: 35.94 kB / 1.012 GB, free: 5.41 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.7984, allocations: 23.91 kB / 1.012 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.7985, allocations: 16 kB / 1.012 GB, free: 5.371 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002334/0.7987, allocations: 227 kB / 1.012 GB, free: 5.148 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7987, allocations: 0 / 1.012 GB, free: 5.148 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000865/0.7996, allocations: 192 kB / 1.012 GB, free: 4.961 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001977/0.8016, allocations: 1.394 MB / 1.014 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.8032, allocations: 0.9567 MB / 1.015 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.8032, allocations: 7.938 kB / 1.015 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006658/0.8038, allocations: 473.1 kB / 1.015 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.8044, allocations: 68.45 kB / 1.015 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.8091, allocations: 2.649 MB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.8096, allocations: 0.8509 MB / 1.018 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004301/0.81, allocations: 143.1 kB / 1.019 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.8102, allocations: 115.4 kB / 1.019 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of SimCode: time 1.002e-06/0.8102, allocations: 0 / 1.019 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.8356, allocations: 9.875 MB / 1.028 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.8359, allocations: 226.7 kB / 1.029 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.945, allocations: 0 / 1.029 GB, free: 4.168 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat