Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_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.001139/0.001139, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001174/0.001174, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.871/2.871, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.891/4.891, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007739/0.0007742, allocations: 12 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411/1.412, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.008414/1.42, allocations: 4.111 MB / 0.9849 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006125/1.427, allocations: 2.286 MB / 0.9871 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009088/1.428, allocations: 19.81 kB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0003931/1.428, allocations: 71.45 kB / 0.9872 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001853/1.43, allocations: 370.8 kB / 0.9876 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/1.431, allocations: 282.4 kB / 0.9878 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00148/1.432, allocations: 0.5835 MB / 0.9884 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/1.434, allocations: 424.2 kB / 0.9888 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009147/1.435, allocations: 270.9 kB / 0.9891 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008177/1.435, allocations: 274.8 kB / 0.9893 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/1.435, allocations: 20 kB / 0.9893 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005415/1.436, allocations: 151.8 kB / 0.9895 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002215/1.436, allocations: 139.5 kB / 0.9896 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/1.436, allocations: 137.4 kB / 0.9897 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/1.438, allocations: 0.6021 MB / 0.9903 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.438, allocations: 7.938 kB / 0.9903 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.641e-06/1.438, allocations: 0 / 0.9903 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.268e-05/1.438, allocations: 0 / 0.9903 GB, free: 12.57 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00221/1.44, allocations: 0.8139 MB / 0.9911 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.484e-05/1.44, allocations: 12.03 kB / 0.9911 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/1.44, allocations: 90.52 kB / 0.9912 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.441, allocations: 171 kB / 0.9914 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/1.442, allocations: 477.4 kB / 0.9919 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/1.443, allocations: 32.98 kB / 0.9919 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/1.443, allocations: 47.86 kB / 0.9919 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/1.444, allocations: 0.8327 MB / 0.9927 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/1.444, allocations: 7.938 kB / 0.9927 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/1.444, allocations: 23.98 kB / 0.9928 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/1.444, allocations: 68.95 kB / 0.9928 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009486/1.445, allocations: 0.5656 MB / 0.9934 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006236/1.451, allocations: 5.654 MB / 0.9989 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007836/1.452, allocations: 462.1 kB / 0.9994 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/1.452, allocations: 4 kB / 0.9994 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/1.452, allocations: 38.56 kB / 0.9994 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 3.006e-06/1.452, allocations: 0 / 0.9994 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002935/1.455, allocations: 1.493 MB / 1.001 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/1.455, allocations: 59.69 kB / 1.001 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006005/1.456, allocations: 494.9 kB / 1.001 GB, free: 484 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/1.456, allocations: 33.7 kB / 1.001 GB, free: 444 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/1.456, allocations: 362.8 kB / 1.002 GB, free: 76 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/1.457, allocations: 118.5 kB / 1.002 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/1.457, allocations: 8 kB / 1.002 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002109/1.457, allocations: 370.8 kB / 1.002 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/1.457, allocations: 189.2 kB / 1.002 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/1.458, allocations: 447.3 kB / 1.003 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/1.458, allocations: 267.5 kB / 1.003 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.458, allocations: 0 / 1.003 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001376/1.459, allocations: 0.8134 MB / 1.004 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/1.46, allocations: 9.562 kB / 1.004 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.46, allocations: 8 kB / 1.004 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005431/1.46, allocations: 144.6 kB / 1.004 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/1.461, allocations: 127.7 kB / 1.004 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/1.464, allocations: 4.064 MB / 1.008 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/1.465, allocations: 31.97 kB / 1.008 GB, free: 8.957 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/1.465, allocations: 32 kB / 1.008 GB, free: 8.926 MB / 0.7637 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.0003092/1.465, allocations: 217.5 kB / 1.008 GB, free: 8.703 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/1.465, allocations: 55.34 kB / 1.008 GB, free: 8.648 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/1.467, allocations: 0.5968 MB / 1.009 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.467, allocations: 7.984 kB / 1.009 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.467, allocations: 4 kB / 1.009 GB, free: 8.02 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.467, allocations: 0 / 1.009 GB, free: 8.02 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/1.469, allocations: 1.253 MB / 1.01 GB, free: 6.676 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/1.469, allocations: 0 / 1.01 GB, free: 6.676 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/1.469, allocations: 59.89 kB / 1.01 GB, free: 6.617 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/1.469, allocations: 148.3 kB / 1.01 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/1.469, allocations: 8 kB / 1.01 GB, free: 6.449 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003654/1.473, allocations: 4.044 MB / 1.014 GB, free: 2 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/1.473, allocations: 3.938 kB / 1.014 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/1.474, allocations: 0.7903 MB / 1.015 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/1.475, allocations: 168.3 kB / 1.015 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/1.475, allocations: 15.92 kB / 1.015 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/1.475, allocations: 23.92 kB / 1.015 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/1.475, allocations: 31.95 kB / 1.015 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/1.475, allocations: 16 kB / 1.015 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004702/1.476, allocations: 322.9 kB / 1.016 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.81e-07/1.476, allocations: 4 kB / 1.016 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007319/1.476, allocations: 136 kB / 1.016 GB, free: 400 kB / 0.7637 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.001654/1.478, allocations: 1.824 MB / 1.018 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001697/1.48, allocations: 1.033 MB / 1.019 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.48, allocations: 0 / 1.019 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009407/1.481, allocations: 0.7385 MB / 1.019 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000995/1.482, allocations: 186.3 kB / 1.02 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00941/1.491, allocations: 8.982 MB / 1.028 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/1.492, allocations: 0.9181 MB / 1.029 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004875/1.493, allocations: 117.3 kB / 1.029 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/1.493, allocations: 199.4 kB / 1.03 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of SimCode: time 9.92e-07/1.493, allocations: 0 / 1.03 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05941/1.552, allocations: 12.04 MB / 1.041 GB, free: 6.102 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005992/1.553, allocations: 223.2 kB / 1.042 GB, free: 5.859 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.292/4.845, allocations: 0 / 1.042 GB, free: 5.859 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat does not exist to compare? outputFormat=mat