Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.0008554/0.0008553, allocations: 91.77 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.0008577/0.0008581, 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.439/1.439, allocations: 223.2 MB / 240 MB, free: 5.301 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.544/2.544, allocations: 390.4 MB / 0.6655 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8136/0.814, allocations: 142.3 MB / 0.9539 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00404/0.8181, allocations: 4.251 MB / 0.958 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003326/0.8215, allocations: 2.298 MB / 0.9602 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000555/0.822, allocations: 24.06 kB / 0.9603 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.8224, allocations: 86.22 kB / 0.9604 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.8236, allocations: 348.2 kB / 0.9607 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008105/0.8244, allocations: 280.8 kB / 0.961 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.8255, allocations: 0.9684 MB / 0.9619 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.8263, allocations: 428.8 kB / 0.9623 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004841/0.8268, allocations: 293.7 kB / 0.9626 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.8272, allocations: 320.6 kB / 0.9629 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.102e-05/0.8273, allocations: 19.97 kB / 0.9629 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006027/0.8279, allocations: 199.8 kB / 0.9631 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.8281, allocations: 155.7 kB / 0.9633 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.8282, allocations: 136.1 kB / 0.9634 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005985/0.8288, allocations: 0.6413 MB / 0.964 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8289, allocations: 3.938 kB / 0.964 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8289, allocations: 1 kB / 0.964 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.8289, allocations: 0 / 0.964 GB, free: 0.5273 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001095/0.83, allocations: 0.836 MB / 0.9648 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.83, allocations: 12.22 kB / 0.9648 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.8302, allocations: 93.8 kB / 0.9649 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.8314, allocations: 196 kB / 0.9651 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006879/0.8321, allocations: 488.7 kB / 0.9656 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.8321, allocations: 34.02 kB / 0.9656 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.8322, allocations: 44.91 kB / 0.9657 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.8334, allocations: 0.844 MB / 0.9665 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.8334, allocations: 7.719 kB / 0.9665 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.8335, allocations: 28.62 kB / 0.9665 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.8336, allocations: 70.39 kB / 0.9666 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009384/0.8345, allocations: 0.5635 MB / 0.9671 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.8387, allocations: 5.639 MB / 0.9726 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.8394, allocations: 453.7 kB / 0.9731 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.8398, allocations: 227 kB / 0.9733 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.8398, allocations: 3.625 kB / 0.9733 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.8399, allocations: 39.94 kB / 0.9733 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.8399, allocations: 0 / 0.9733 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.00277/0.8426, allocations: 1.498 MB / 0.9748 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.8427, allocations: 63.56 kB / 0.9749 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.8432, allocations: 491 kB / 0.9753 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.8433, allocations: 31.05 kB / 0.9754 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.8435, allocations: 358 kB / 0.9757 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.389e-05/0.8436, allocations: 126.7 kB / 0.9758 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.8436, allocations: 10.88 kB / 0.9758 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8438, allocations: 368 kB / 0.9762 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.8441, allocations: 195 kB / 0.9764 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.8445, allocations: 442.3 kB / 0.9768 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.8449, allocations: 260.3 kB / 0.977 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.8449, allocations: 3 kB / 0.977 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001294/0.8462, allocations: 0.8055 MB / 0.9778 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.8463, allocations: 8.75 kB / 0.9778 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.8463, allocations: 14.36 kB / 0.9778 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004541/0.8468, allocations: 158.1 kB / 0.978 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.8472, allocations: 122.3 kB / 0.9781 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.8501, allocations: 4.038 MB / 0.9821 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.8505, allocations: 32.5 kB / 0.9821 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.8506, allocations: 31.69 kB / 0.9821 GB, free: 0.6719 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002712/0.8508, allocations: 213.7 kB / 0.9823 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-05/0.8509, allocations: 62.17 kB / 0.9824 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009891/0.8519, allocations: 0.5986 MB / 0.983 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.8519, allocations: 7.203 kB / 0.983 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.852, allocations: 2.531 kB / 0.983 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.852, allocations: 3.984 kB / 0.983 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.8537, allocations: 1.249 MB / 0.9842 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8537, allocations: 1.656 kB / 0.9842 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.854, allocations: 61.77 kB / 0.9843 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/0.8544, allocations: 136.9 kB / 0.9844 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.8544, allocations: 11.25 kB / 0.9844 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/0.8572, allocations: 4.023 MB / 0.9883 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8572, allocations: 0 / 0.9883 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009917/0.8582, allocations: 0.712 MB / 0.989 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.8584, allocations: 172.3 kB / 0.9892 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.317e-05/0.8585, allocations: 7.984 kB / 0.9892 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.8588, allocations: 27.97 kB / 0.9892 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.8588, allocations: 27.97 kB / 0.9892 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.8589, allocations: 11.95 kB / 0.9893 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003443/0.8592, allocations: 326.8 kB / 0.9896 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8592, allocations: 0 / 0.9896 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006809/0.8599, allocations: 144 kB / 0.9897 GB, free: 9.398 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.8611, allocations: 1.253 MB / 0.9909 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.8624, allocations: 1.04 MB / 0.9919 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.8625, allocations: 0 / 0.9919 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000755/0.8632, allocations: 0.7426 MB / 0.9927 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000952/0.8642, allocations: 186.2 kB / 0.9929 GB, free: 5.961 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.869, allocations: 3.433 MB / 0.9962 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.8697, allocations: 0.9019 MB / 0.9971 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004559/0.8701, allocations: 121.3 kB / 0.9972 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.8704, allocations: 199.4 kB / 0.9974 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of SimCode: time 2.955e-06/0.8704, allocations: 0 / 0.9974 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.9032, allocations: 12.07 MB / 1.009 GB, free: 5.285 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.9034, allocations: 223.5 kB / 1.009 GB, free: 5.043 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.938, allocations: 0 / 1.009 GB, free: 5.043 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat does not exist to compare? outputFormat=mat