Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.0009173/0.0009173, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001239/0.001239, allocations: 168.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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8808/0.8812, allocations: 142.3 MB / 0.9539 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003571/0.8848, allocations: 2.064 MB / 0.9559 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003091/0.888, allocations: 1.312 MB / 0.9572 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.8881, allocations: 3.938 kB / 0.9572 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.8884, allocations: 26.36 kB / 0.9572 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.8889, allocations: 92.52 kB / 0.9573 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.8895, allocations: 151 kB / 0.9574 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004275/0.8899, allocations: 252.9 kB / 0.9577 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006017/0.8905, allocations: 220.1 kB / 0.9579 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.8907, allocations: 74.95 kB / 0.9579 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.8911, allocations: 95.8 kB / 0.958 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.8911, allocations: 9.781 kB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.8915, allocations: 103.8 kB / 0.9581 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.8916, allocations: 69.3 kB / 0.9582 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.8917, allocations: 51.14 kB / 0.9583 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.8921, allocations: 204.6 kB / 0.9584 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.8921, allocations: 0 / 0.9584 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.977e-06/0.8922, allocations: 0 / 0.9584 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8922, allocations: 3.938 kB / 0.9585 GB, free: 4.672 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008029/0.893, allocations: 457.5 kB / 0.9589 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.893, allocations: 9.906 kB / 0.9589 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.8931, allocations: 48.05 kB / 0.9589 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007211/0.8939, allocations: 64.7 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.8942, allocations: 225.5 kB / 0.9592 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.8942, allocations: 9.656 kB / 0.9592 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.8943, allocations: 20.83 kB / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.8949, allocations: 277.2 kB / 0.9595 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.8949, allocations: 0 / 0.9595 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.8949, allocations: 10.7 kB / 0.9595 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.566e-05/0.895, allocations: 16.61 kB / 0.9595 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.8955, allocations: 210.3 kB / 0.9597 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.8975, allocations: 1.575 MB / 0.9613 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.898, allocations: 316.8 kB / 0.9616 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.8981, allocations: 70.48 kB / 0.9616 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.8981, allocations: 1 kB / 0.9616 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.8982, allocations: 31.66 kB / 0.9617 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.734e-06/0.8982, allocations: 1.219 kB / 0.9617 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0007946/0.899, allocations: 250 kB / 0.9619 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.8991, allocations: 78.39 kB / 0.962 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.8993, allocations: 203.2 kB / 0.9622 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.8993, allocations: 26.83 kB / 0.9622 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.8994, allocations: 157.6 kB / 0.9624 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.8995, allocations: 36.77 kB / 0.9624 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/0.8995, allocations: 5.156 kB / 0.9624 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.8996, allocations: 321.6 kB / 0.9627 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.8998, allocations: 65.95 kB / 0.9628 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.9, allocations: 156.2 kB / 0.9629 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.9002, allocations: 98.28 kB / 0.963 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9002, allocations: 1.25 kB / 0.963 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005687/0.9008, allocations: 260 kB / 0.9633 GB, free: 356 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.9009, allocations: 178.6 kB / 0.9634 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.9009, allocations: 2.812 kB / 0.9634 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.901, allocations: 8.531 kB / 0.9634 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.9013, allocations: 53.75 kB / 0.9635 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.9013, allocations: 8.719 kB / 0.9635 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.9016, allocations: 19.86 kB / 0.9635 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.9016, allocations: 8.844 kB / 0.9635 GB, free: 108 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.9016, allocations: 3.188 kB / 0.9635 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004422/0.9021, allocations: 203 kB / 0.9637 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.9021, allocations: 7.375 kB / 0.9637 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.9021, allocations: 4.25 kB / 0.9637 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.9024, allocations: 48.81 kB / 0.9638 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.9025, allocations: 8.922 kB / 0.9638 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.9026, allocations: 13.05 kB / 0.9638 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.9027, allocations: 8.688 kB / 0.9638 GB, free: 15.98 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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 0.0002384/0.9029, allocations: 223.9 kB / 0.964 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/0.903, allocations: 17.64 kB / 0.964 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.9034, allocations: 154.8 kB / 0.9642 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.9034, allocations: 1.094 kB / 0.9642 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.9034, allocations: 1.406 kB / 0.9642 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.9035, allocations: 0 / 0.9642 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.905, allocations: 0.711 MB / 0.9649 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.905, allocations: 2.625 kB / 0.9649 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.9051, allocations: 34.41 kB / 0.9649 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.9052, allocations: 3.562 kB / 0.9649 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.9052, allocations: 7.906 kB / 0.9649 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.9052, allocations: 2.438 kB / 0.9649 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.9052, allocations: 4 kB / 0.9649 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.9057, allocations: 380.5 kB / 0.9653 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.9058, allocations: 115 kB / 0.9654 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.9059, allocations: 7.531 kB / 0.9654 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.9062, allocations: 7.484 kB / 0.9654 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.9062, allocations: 23.55 kB / 0.9655 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.9062, allocations: 3.312 kB / 0.9655 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001855/0.9064, allocations: 143.7 kB / 0.9656 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9064, allocations: 0 / 0.9656 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008056/0.9073, allocations: 71.17 kB / 0.9657 GB, free: 14.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0008468/0.9081, allocations: 0.9017 MB / 0.9665 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006465/0.9088, allocations: 262.1 kB / 0.9668 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.9088, allocations: 5.094 kB / 0.9668 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.9089, allocations: 64.41 kB / 0.9669 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007282/0.9097, allocations: 36.95 kB / 0.9669 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.9123, allocations: 1.137 MB / 0.968 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.9129, allocations: 0.7388 MB / 0.9687 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003295/0.9132, allocations: 69.97 kB / 0.9688 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.9134, allocations: 48.58 kB / 0.9688 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/0.9134, allocations: 1.031 kB / 0.9688 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.9367, allocations: 3.302 MB / 0.9721 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/0.9371, allocations: 216.8 kB / 0.9723 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.716, allocations: 4 kB / 0.9723 GB, free: 9.891 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat